Skip to content

Commit

Permalink
Try to save some disk space
Browse files Browse the repository at this point in the history
Signed-off-by: Dieter Reuter <[email protected]>
  • Loading branch information
DieterReuter committed Jul 14, 2019
1 parent 2e3e44e commit c80842d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions builder/chroot-script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -183,10 +183,12 @@ ln -s /sbin/resizefs /sbin/init

# as the Pi does not have a hardware clock we need a fake one
apt-get install -y \
--no-install-recommends \
fake-hwclock

# install packages for managing wireless interfaces
apt-get install -y \
--no-install-recommends \
wpasupplicant \
wireless-tools \
ethtool \
Expand All @@ -203,10 +205,12 @@ apt-get install -y \

# ensure compatibility with Docker install.sh, so `raspbian` will be detected correctly
apt-get install -y \
--no-install-recommends \
lsb-release

# install cloud-init and its required dependencies
apt-get install -y \
--no-install-recommends \
cloud-init \
dirmngr \
less
Expand All @@ -227,6 +231,7 @@ echo '{
#
# Install packages to allow apt to use a repository over HTTPS:
apt-get install -y \
--no-install-recommends \
apt-transport-https \
ca-certificates \
curl \
Expand All @@ -244,6 +249,7 @@ add-apt-repository \
# Install Docker CE
apt-get update
apt-get install -y \
--no-install-recommends \
docker-ce="${DOCKER_ENGINE_VERSION}" \
docker-ce-cli="${DOCKER_ENGINE_VERSION}" \
containerd.io="${CONTAINERD_IO_VERSION}"
Expand All @@ -258,6 +264,7 @@ curl -sSL "https://raw.githubusercontent.com/docker/machine/v${DOCKER_MACHINE_VE

# install Docker Compose via pip
apt-get install -y \
--no-install-recommends \
python
curl -sSL https://bootstrap.pypa.io/get-pip.py | python
pip install docker-compose=="${DOCKER_COMPOSE_VERSION}"
Expand Down

0 comments on commit c80842d

Please sign in to comment.