Release ubuntu-slim 0.7
This commit is contained in:
parent
aa02b7e085
commit
b22c19309c
3 changed files with 16 additions and 4 deletions
|
@ -7,6 +7,7 @@ COPY excludes /etc/dpkg/dpkg.cfg.d/excludes
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
&& apt-get dist-upgrade -y
|
&& apt-get dist-upgrade -y
|
||||||
|
|
||||||
|
# no-op script removes the need for systemd-sysv
|
||||||
COPY runlevel /sbin/runlevel
|
COPY runlevel /sbin/runlevel
|
||||||
|
|
||||||
# hold required packages to avoid breaking the installation of packages
|
# hold required packages to avoid breaking the installation of packages
|
||||||
|
@ -14,10 +15,17 @@ RUN apt-mark hold apt gnupg adduser passwd libsemanage1
|
||||||
|
|
||||||
# dpkg --get-selections | grep -v deinstall
|
# dpkg --get-selections | grep -v deinstall
|
||||||
RUN echo "Yes, do as I say!" | apt-get purge \
|
RUN echo "Yes, do as I say!" | apt-get purge \
|
||||||
|
e2fslibs \
|
||||||
libcap2-bin \
|
libcap2-bin \
|
||||||
libkmod2 \
|
libkmod2 \
|
||||||
|
libmount1 \
|
||||||
|
libncursesw5 \
|
||||||
|
libprocps4 \
|
||||||
libsmartcols1 \
|
libsmartcols1 \
|
||||||
libudev1 \
|
libudev1 \
|
||||||
|
ncurses-base \
|
||||||
|
ncurses-bin \
|
||||||
|
locales \
|
||||||
tzdata
|
tzdata
|
||||||
|
|
||||||
# cleanup
|
# cleanup
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
all: push
|
all: push
|
||||||
|
|
||||||
TAG ?= 0.6
|
TAG ?= 0.7
|
||||||
PREFIX ?= gcr.io/google_containers/ubuntu-slim
|
PREFIX ?= gcr.io/google_containers/ubuntu-slim
|
||||||
BUILD_IMAGE ?= ubuntu-build
|
BUILD_IMAGE ?= ubuntu-build
|
||||||
TAR_FILE ?= rootfs.tar
|
TAR_FILE ?= rootfs.tar
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
|
|
||||||
Small Ubuntu 16.04 docker image
|
Small Ubuntu 16.04 docker image
|
||||||
|
|
||||||
The size of this image is ~56MB (less than half than `ubuntu:16.04).
|
The size of this image is ~44MB (less than half than `ubuntu:16.04).
|
||||||
This is possible by the removal of packages that are not required in a container:
|
This is possible by the removal of packages that are not required in a container:
|
||||||
- dmsetup
|
- e2fslibs
|
||||||
- e2fsprogs
|
- e2fsprogs
|
||||||
- init
|
- init
|
||||||
- initscripts
|
- initscripts
|
||||||
|
@ -11,12 +11,16 @@ This is possible by the removal of packages that are not required in a container
|
||||||
- libcryptsetup4
|
- libcryptsetup4
|
||||||
- libdevmapper1.02.1
|
- libdevmapper1.02.1
|
||||||
- libkmod2
|
- libkmod2
|
||||||
|
- libmount1
|
||||||
|
- libncursesw5
|
||||||
|
- libprocps4
|
||||||
- libsmartcols1
|
- libsmartcols1
|
||||||
- libudev1
|
- libudev1
|
||||||
- mount
|
- mount
|
||||||
|
- ncurses-base
|
||||||
|
- ncurses-bin
|
||||||
- procps
|
- procps
|
||||||
- systemd
|
- systemd
|
||||||
- systemd-sysv
|
- systemd-sysv
|
||||||
- tzdata
|
- tzdata
|
||||||
- udev
|
|
||||||
- util-linux
|
- util-linux
|
||||||
|
|
Loading…
Reference in a new issue