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 47a32e9 commit e6ead3fCopy full SHA for e6ead3f
Dockerfile
@@ -7,10 +7,10 @@ WORKDIR /build
7
8
# Install the dependencies
9
COPY . .
10
-RUN go mod download -json
+RUN go mod download
11
12
# Build the docker-gen executable
13
-RUN CGO_ENABLED=0 go build -ldflags "-X main.buildVersion=${VERSION}" -o docker-gen ./cmd/docker-gen
+RUN GOOS=linux CGO_ENABLED=0 go build -ldflags "-X main.buildVersion=${VERSION}" -o docker-gen ./cmd/docker-gen
14
15
FROM alpine:3.13
16
0 commit comments