Skip to content

Commit

Permalink
fix: Ensure we build the Docker container correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
notheotherben committed Nov 12, 2018
1 parent ad76f4a commit 61403cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ RUN go test -v ./...

ENV CGO_ENABLED=0
ENV GOOS=linux
RUN go build -o bin/bender -a -installsuffix cgo -ldflags "-s -X main.version=$VERSION -X main.sentryDSN=$SENTRY_DSN"
RUN ["go", "build", "-o", "bin/bender", "-a", "-installsuffix", "cgo", "-ldflags", "-s -X main.version=$VERSION -X main.sentryDSN=$SENTRY_DSN"]

# Build the actual container
FROM alpine:latest
Expand Down

0 comments on commit 61403cf

Please sign in to comment.