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 62a4efb commit 0670243Copy full SHA for 0670243
v1/.dockerignore1
v1/Dockerfile
@@ -3,23 +3,19 @@ FROM golang:1.18 as builder
3
4
# Make sure we use go modules
5
WORKDIR vcluster
6
-
7
-# COPY go.mod .
8
-# COPY go.sum .
9
10
# Copy the Go Modules manifests
11
COPY . .
12
# Install dependencies
13
RUN go mod vendor
14
# Build cmd
15
RUN CGO_ENABLED=0 GO111MODULE=on go build -mod vendor -o /plugin main.go
16
17
-# # we use alpine for easier debugging
18
-# FROM alpine
+# we use alpine for easier debugging
+FROM alpine
19
20
-# # Set root path as working directory
21
-# WORKDIR /
+# Set root path as working directory
+WORKDIR /
22
23
-# COPY --from=builder /plugin .
+COPY --from=builder /plugin .
24
25
-# ENTRYPOINT ["/plugin"]
+ENTRYPOINT ["/plugin"]
0 commit comments