clean up apk cache after install to make image a little smaller

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
Justin Cormack 2016-04-25 10:59:36 +01:00
parent da23023a92
commit 418a7ba4ab

View File

@ -8,16 +8,24 @@ RUN \
passwd -d root && \
apk update && apk upgrade && \
apk add \
e2fsprogs chrony \
git xz iptables \
sfdisk lvm2 syslinux \
openrc busybox-initscripts \
e2fsprogs \
chrony \
git \
xz \
iptables \
sfdisk \
lvm2 \
syslinux \
openrc \
busybox-initscripts \
alpine-conf \
bind-tools \
openssh-client \
strace fuse \
strace \
fuse \
util-linux \
cifs-utils
cifs-utils \
&& rm -rf /var/cache/apk/*
COPY etc /etc/
RUN mkdir -p /etc/docker