Compare commits

...

2 commits

Author SHA1 Message Date
Jan Christian Grünhage fdd6f48490
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
2018-01-08 21:41:42 +01:00
Jan Christian Grünhage d286054f21
fix: MAINTAINER is deprecated, use LABEL maintainer instead 2018-01-08 21:34:10 +01:00

View file

@ -1,12 +1,13 @@
FROM docker.io/alpine:3.7 FROM docker.io/alpine:3.7
MAINTAINER Jan Christian Grünhage <jan.christian@gruenhage.xyz> 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 /