Skip to content

Commit 4b748ed

Browse files
authored
Merge pull request #108 from DieterReuter/update-raw-image-0.3.1
Update raw image to 0.3.1, increased disk size to 1200 MByte
2 parents d59648a + c80842d commit 4b748ed

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM hypriot/image-builder:latest
22

33
ENV HYPRIOT_OS_VERSION=v2.1.0 \
4-
RAW_IMAGE_VERSION=v0.2.2
4+
RAW_IMAGE_VERSION=v0.3.1
55

66
#Note that the checksums and build timestamps only apply when fetching missing
77
#artifacts remotely is enabled to validate downloaded remote artifacts
@@ -16,7 +16,7 @@ ENV FETCH_MISSING_ARTIFACTS=true \
1616
DOCKER_MACHINE_VERSION="0.16.1" \
1717
KERNEL_VERSION="4.19.58" \
1818
ROOTFS_TAR_CHECKSUM="4437ac3ab8278a4a3994aa9aa36f0f00bc409f80ebdffef23a141dfc0286ecb0" \
19-
RAW_IMAGE_CHECKSUM="2fbeb13b7b0f2308dbd0d82780b54c33003ad43d145ff08498b25fb8bbe1c2c6" \
19+
RAW_IMAGE_CHECKSUM="ccff10498fb45fb76c6064988fb01b3543adfdb70ee7e5fb04b51885573684a6" \
2020
BOOTLOADER_BUILD="20190713-140339" \
2121
KERNEL_BUILD="20190713-150518"
2222

builder/chroot-script.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,10 +183,12 @@ ln -s /sbin/resizefs /sbin/init
183183

184184
# as the Pi does not have a hardware clock we need a fake one
185185
apt-get install -y \
186+
--no-install-recommends \
186187
fake-hwclock
187188

188189
# install packages for managing wireless interfaces
189190
apt-get install -y \
191+
--no-install-recommends \
190192
wpasupplicant \
191193
wireless-tools \
192194
ethtool \
@@ -203,10 +205,12 @@ apt-get install -y \
203205

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

208211
# install cloud-init and its required dependencies
209212
apt-get install -y \
213+
--no-install-recommends \
210214
cloud-init \
211215
dirmngr \
212216
less
@@ -227,6 +231,7 @@ echo '{
227231
#
228232
# Install packages to allow apt to use a repository over HTTPS:
229233
apt-get install -y \
234+
--no-install-recommends \
230235
apt-transport-https \
231236
ca-certificates \
232237
curl \
@@ -244,6 +249,7 @@ add-apt-repository \
244249
# Install Docker CE
245250
apt-get update
246251
apt-get install -y \
252+
--no-install-recommends \
247253
docker-ce="${DOCKER_ENGINE_VERSION}" \
248254
docker-ce-cli="${DOCKER_ENGINE_VERSION}" \
249255
containerd.io="${CONTAINERD_IO_VERSION}"
@@ -258,6 +264,7 @@ curl -sSL "https://raw.githubusercontent.com/docker/machine/v${DOCKER_MACHINE_VE
258264

259265
# install Docker Compose via pip
260266
apt-get install -y \
267+
--no-install-recommends \
261268
python
262269
curl -sSL https://bootstrap.pypa.io/get-pip.py | python
263270
pip install docker-compose=="${DOCKER_COMPOSE_VERSION}"

0 commit comments

Comments
 (0)