running apk without a cache resulted in a 15% smaller image, coming in at just over 6MB
This commit is contained in:
parent
d286054f21
commit
fdd6f48490
|
@ -4,9 +4,10 @@ LABEL maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
|
||||||
ENV UID=1337 \
|
ENV UID=1337 \
|
||||||
GID=1337
|
GID=1337
|
||||||
|
|
||||||
RUN apk update \
|
RUN apk upgrade \
|
||||||
&& apk upgrade \
|
--no-cache \
|
||||||
&& apk add \
|
&& apk add \
|
||||||
|
--no-cache \
|
||||||
s6 \
|
s6 \
|
||||||
su-exec
|
su-exec
|
||||||
ADD root /
|
ADD root /
|
||||||
|
|
Loading…
Reference in a new issue