fix: run apk without cache
All checks were successful
the build was successful

running apk without a cache resulted in a 15% smaller image, coming in at just over 6MB
This commit is contained in:
Jan Christian Grünhage 2018-01-08 21:41:42 +01:00
parent d286054f21
commit fdd6f48490
Signed by: jcgruenhage
GPG key ID: 6594C449C633D10C

View file

@ -4,9 +4,10 @@ LABEL maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
ENV UID=1337 \
GID=1337
RUN apk update \
&& apk upgrade \
RUN apk upgrade \
--no-cache \
&& apk add \
--no-cache \
s6 \
su-exec
ADD root /