Merge pull request #2946 from tariq1890/upd_alpine

use latest version of alpine when building the Docker container
This commit is contained in:
Ryan Abrams 2019-06-20 10:38:41 -07:00 committed by GitHub
commit 79f6bcbe16
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,7 +14,7 @@ WORKDIR $DISTRIBUTION_DIR
COPY . $DISTRIBUTION_DIR COPY . $DISTRIBUTION_DIR
RUN CGO_ENABLED=0 make PREFIX=/go clean binaries && file ./bin/registry | grep "statically linked" RUN CGO_ENABLED=0 make PREFIX=/go clean binaries && file ./bin/registry | grep "statically linked"
FROM alpine:3.8 FROM alpine:3.9
RUN set -ex \ RUN set -ex \
&& apk add --no-cache ca-certificates apache2-utils && apk add --no-cache ca-certificates apache2-utils