Skip to content

Commit ab620c3

Browse files
committed
Keep docker image up to date
For the sake of security, we should use an updated Alpine image. Even though we only use "git" from Alpine, Katafygio being staticaly linked.
1 parent 539fe2c commit ab620c3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ RUN make deps
66
RUN make build
77

88
FROM alpine:3.7
9-
RUN apk --no-cache add ca-certificates git
9+
RUN apk upgrade --no-cache && apk --no-cache add ca-certificates git
1010
COPY --from=builder /go/src/github.com/bpineau/katafygio/katafygio /usr/bin/
1111
USER nobody
1212
ENTRYPOINT ["/usr/bin/katafygio"]

assets/Dockerfile.goreleaser

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
FROM alpine:3.7
2-
RUN apk --no-cache add ca-certificates git
2+
RUN apk upgrade --no-cache && apk --no-cache add ca-certificates git
33
COPY katafygio /usr/bin/
44
USER nobody
55
ENTRYPOINT ["/usr/bin/katafygio"]

0 commit comments

Comments
 (0)