Update Alpine to v3.12 (#605)

Update Alpine to v3.12

use default nobody user from alpine, and update to the stable version
This commit is contained in:
Sergio Teixeira
2020-06-02 09:24:47 +01:00
committed by GitHub
parent 9ba78031e2
commit 9afd741dc1

View File

@@ -1,16 +1,9 @@
FROM alpine:3.11
FROM alpine:3.12
RUN addgroup -S flagger \
&& adduser -S -g flagger flagger \
&& apk --no-cache add ca-certificates
RUN apk --no-cache add ca-certificates
WORKDIR /home/flagger
USER nobody
COPY /bin/flagger .
RUN chown -R flagger:flagger ./
USER flagger
COPY --chown=nobody:nobody /bin/flagger .
ENTRYPOINT ["./flagger"]