Update Dockerfile

This commit is contained in:
gminog 2019-10-08 18:15:57 +03:00 committed by GitHub
parent 905595276b
commit f40333d88b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,7 +4,8 @@ ENV GOPATH /opt
ENV GO111MODULE on
RUN apk update && \
apk add ca-certificates git bash gcc musl-dev
apk add ca-certificates git bash gcc musl-dev && \
apk add tzdata
WORKDIR /opt/src/github.com/quiq/docker-registry-ui
ADD events events
@ -25,7 +26,5 @@ ADD templates /opt/templates
ADD static /opt/static
COPY --from=builder /opt/docker-registry-ui /opt/
RUN apk update && apk add tzdata
USER nobody
ENTRYPOINT ["/opt/docker-registry-ui"]