mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-20 01:29:07 +00:00
Clean up apk cache in init
See #1312 Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
parent
657c97c4fb
commit
05123a7afa
@ -1,11 +1,12 @@
|
|||||||
FROM alpine:3.5
|
FROM alpine:3.5
|
||||||
|
|
||||||
RUN \
|
RUN \
|
||||||
apk update && apk upgrade -a && \
|
apk --no-cache update && \
|
||||||
apk add --no-cache \
|
apk --no-cache upgrade -a && \
|
||||||
|
apk --no-cache add \
|
||||||
dhcpcd \
|
dhcpcd \
|
||||||
e2fsprogs \
|
e2fsprogs \
|
||||||
e2fsprogs-extra \
|
e2fsprogs-extra \
|
||||||
&& true
|
&& rm -rf /var/cache/apk/*
|
||||||
|
|
||||||
COPY . ./
|
COPY . ./
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
kernel:
|
kernel:
|
||||||
image: "mobylinux/kernel:4.9.x"
|
image: "mobylinux/kernel:4.9.x"
|
||||||
cmdline: "console=ttyS0 page_poison=1"
|
cmdline: "console=ttyS0 page_poison=1"
|
||||||
init: "mobylinux/init:1402058c0f90adf2b12fcfb8332b334c7e9c5d8c"
|
init: "mobylinux/init:d6d115d601e78f7909d4a2ff7eb4caa3fff65271"
|
||||||
system:
|
system:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
image: "mobylinux/sysctl:2cf2f9d5b4d314ba1bfc22b2fe931924af666d8c"
|
image: "mobylinux/sysctl:2cf2f9d5b4d314ba1bfc22b2fe931924af666d8c"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
kernel:
|
kernel:
|
||||||
image: "mobylinux/kernel:4.9.x"
|
image: "mobylinux/kernel:4.9.x"
|
||||||
cmdline: "console=ttyS0 page_poison=1"
|
cmdline: "console=ttyS0 page_poison=1"
|
||||||
init: "mobylinux/init:1402058c0f90adf2b12fcfb8332b334c7e9c5d8c"
|
init: "mobylinux/init:d6d115d601e78f7909d4a2ff7eb4caa3fff65271"
|
||||||
system:
|
system:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
image: "mobylinux/sysctl:2cf2f9d5b4d314ba1bfc22b2fe931924af666d8c"
|
image: "mobylinux/sysctl:2cf2f9d5b4d314ba1bfc22b2fe931924af666d8c"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
kernel:
|
kernel:
|
||||||
image: "mobylinux/kernel:4.9.x"
|
image: "mobylinux/kernel:4.9.x"
|
||||||
cmdline: "console=ttyS0 page_poison=1"
|
cmdline: "console=ttyS0 page_poison=1"
|
||||||
init: "mobylinux/init:1402058c0f90adf2b12fcfb8332b334c7e9c5d8c"
|
init: "mobylinux/init:d6d115d601e78f7909d4a2ff7eb4caa3fff65271"
|
||||||
system:
|
system:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
image: "mobylinux/sysctl:2cf2f9d5b4d314ba1bfc22b2fe931924af666d8c"
|
image: "mobylinux/sysctl:2cf2f9d5b4d314ba1bfc22b2fe931924af666d8c"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
kernel:
|
kernel:
|
||||||
image: "mobylinux/kernel:4.9.x"
|
image: "mobylinux/kernel:4.9.x"
|
||||||
cmdline: "console=ttyS0"
|
cmdline: "console=ttyS0"
|
||||||
init: "mobylinux/init:1402058c0f90adf2b12fcfb8332b334c7e9c5d8c"
|
init: "mobylinux/init:d6d115d601e78f7909d4a2ff7eb4caa3fff65271"
|
||||||
system:
|
system:
|
||||||
- name: binfmt
|
- name: binfmt
|
||||||
image: "mobylinux/binfmt:bdb754f25a5d851b4f5f8d185a43dfcbb3c22d01"
|
image: "mobylinux/binfmt:bdb754f25a5d851b4f5f8d185a43dfcbb3c22d01"
|
||||||
|
Loading…
Reference in New Issue
Block a user