Skip to content

Commit

Permalink
updating dockerimage to use alpine as base (needs ca-certificates pac…
Browse files Browse the repository at this point in the history
…kage)
  • Loading branch information
Guilherme Thomazi Bonicontro committed Apr 30, 2018
1 parent e4152c7 commit 534a836
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@ RUN go get -v -d github.com/guitmz/n26/cmd/n26
RUN CGO_ENABLED=0 GOOS=linux go install -v -a -ldflags '-s -w -extldflags "-static"' github.com/guitmz/n26/cmd/n26

# final stage
FROM scratch
FROM alpine

COPY --from=build-env /go/bin/n26 /

RUN apk add --no-cache ca-certificates

ENTRYPOINT [ "/n26" ]

0 comments on commit 534a836

Please sign in to comment.