mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-27 20:48:11 +00:00
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:
parent
da23023a92
commit
418a7ba4ab
@ -8,16 +8,24 @@ RUN \
|
|||||||
passwd -d root && \
|
passwd -d root && \
|
||||||
apk update && apk upgrade && \
|
apk update && apk upgrade && \
|
||||||
apk add \
|
apk add \
|
||||||
e2fsprogs chrony \
|
e2fsprogs \
|
||||||
git xz iptables \
|
chrony \
|
||||||
sfdisk lvm2 syslinux \
|
git \
|
||||||
openrc busybox-initscripts \
|
xz \
|
||||||
|
iptables \
|
||||||
|
sfdisk \
|
||||||
|
lvm2 \
|
||||||
|
syslinux \
|
||||||
|
openrc \
|
||||||
|
busybox-initscripts \
|
||||||
alpine-conf \
|
alpine-conf \
|
||||||
bind-tools \
|
bind-tools \
|
||||||
openssh-client \
|
openssh-client \
|
||||||
strace fuse \
|
strace \
|
||||||
|
fuse \
|
||||||
util-linux \
|
util-linux \
|
||||||
cifs-utils
|
cifs-utils \
|
||||||
|
&& rm -rf /var/cache/apk/*
|
||||||
|
|
||||||
COPY etc /etc/
|
COPY etc /etc/
|
||||||
RUN mkdir -p /etc/docker
|
RUN mkdir -p /etc/docker
|
||||||
|
Loading…
Reference in New Issue
Block a user