We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38cee73 commit cf84548Copy full SHA for cf84548
v1/.dockerignore
@@ -0,0 +1,8 @@
1
+.e2e/
2
+.devspace/
3
+devspace_start.sh
4
+devspace.yaml
5
+Dockerfile
6
+Dockerfile.dev
7
+plugin.yaml
8
+README.yaml
v1/Dockerfile
@@ -4,12 +4,15 @@ FROM golang:1.18 as builder
# Make sure we use go modules
WORKDIR vcluster
-# Copy the Go Modules manifests
-COPY . .
+COPY go.mod .
+COPY go.sum .
9
10
# Install dependencies
11
RUN go mod vendor
12
13
+# Copy the Go Modules manifests
14
+COPY . .
15
+
16
# Build cmd
17
RUN CGO_ENABLED=0 GO111MODULE=on go build -mod vendor -o /plugin main.go
18
v1/v1
-62.1 MB
0 commit comments