Skip to content

Commit

Permalink
add ca-certificates
Browse files Browse the repository at this point in the history
  • Loading branch information
PeiHsuanTsai committed Mar 6, 2019
1 parent e019945 commit 5fe794e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@
FROM golang:alpine AS build-env
ADD . /src
WORKDIR /src/cli
RUN apk add git
RUN apk add --no-cache ca-certificates git
RUN go get -v -d ./...
RUN go build -o cachet-monitor
RUN chmod a+x cachet-monitor

# final stage
FROM alpine
RUN apk add --no-cache ca-certificates
COPY --from=build-env /src /src
WORKDIR /src
ENTRYPOINT ["/src/cli/cachet-monitor"]

0 comments on commit 5fe794e

Please sign in to comment.