Use --no-cache when installing ca-certificates in the Dockerfile

Signed-off-by: Dennis Marttinen <38858901+twelho@users.noreply.github.com>
This commit is contained in:
Dennis Marttinen 2019-12-29 22:16:28 +02:00 committed by Jannis Mattheis
parent 1cea7a05b9
commit b2b56e09af
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
FROM frolvlad/alpine-glibc:glibc-2.28
WORKDIR /app
RUN apk update && apk add ca-certificates && rm -rf /var/cache/apk/*
RUN apk add --no-cache ca-certificates
ADD gotify-app /app/
EXPOSE 80
ENTRYPOINT ["./gotify-app"]