Skip to content

Commit e877b8f

Browse files
author
Jason Wilder
committed
Fix Dockerfile alpine build
1 parent fc48d7e commit e877b8f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ RUN tar -xzf sources.tar.gz && \
1313

1414
# Install the dependencies and make the docker-gen executable
1515
WORKDIR /go/src/github.com/jwilder/docker-gen
16-
RUN go get -v ./... && \
17-
CGO_ENABLED=0 GOOS=linux go build -ldflags "-X main.buildVersion=${VERSION}" ./cmd/docker-gen
16+
RUN CGO_ENABLED=0 go build -ldflags "-X main.buildVersion=${VERSION}" ./cmd/docker-gen
1817

1918
FROM alpine:latest
2019
LABEL maintainer="Jason Wilder <mail@jasonwilder.com>"

0 commit comments

Comments
 (0)