docker-base-alpine/Dockerfile
Jan Christian Grünhage fdd6f48490
All checks were successful
the build was successful
fix: run apk without cache
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

16 lines
272 B
Docker

FROM docker.io/alpine:3.7
LABEL maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
ENV UID=1337 \
GID=1337
RUN apk upgrade \
--no-cache \
&& apk add \
--no-cache \
s6 \
su-exec
ADD root /
CMD ["/bin/s6-svscan", "/etc/s6.d"]