Skip to content

Commit 386f6da

Browse files
committed
chore: Added a cache buster, to ensure that the latest kernel is installed
1 parent ef4b30c commit 386f6da

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

‎system/Dockerfile‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ ENTRYPOINT ["sh", "-c", "rm -f /.dockerenv; trap 'echo Received SIGTERM; exit 0'
88
COPY seccomp-default.json /etc/docker/
99

1010
# Pre-install initramfs-tools
11-
RUN apt-get update && apt-get install --no-install-recommends -y \
11+
RUN echo "Cache buster: v1" \
12+
&& apt-get update && apt-get install --no-install-recommends -y \
1213
initramfs-tools \
1314
zstd \
1415
&& apt-get clean && rm -rf /var/lib/apt/lists/* \

‎system/Dockerfile.lxc‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ ENTRYPOINT ["sh", "-c", "rm -f /.dockerenv; trap 'echo Received SIGTERM; exit 0'
88
COPY seccomp-default.json /etc/docker/
99

1010
# Install required packages
11-
RUN apt-get update && apt-get install --no-install-recommends -y \
11+
RUN echo "Cache buster: v1" \
12+
&& apt-get update && apt-get install --no-install-recommends -y \
1213
## cuos system dependencies (lxc) \
1314
busybox-static \
1415
## cuos os dependencies \

‎system/Dockerfile.rpi-arm64‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ dtoverlay=dwc2,dr_mode=host
3232
EOF
3333

3434
# Add Raspberry Pi apt repository and key
35-
RUN echo "deb [signed-by=/etc/apt/keyrings/raspberrypi-archive.gpg] http://archive.raspberrypi.org/debian/ $(grep -E '^VERSION_CODENAME=' /etc/os-release | cut -d= -f2 | tr -d '"') main" > /etc/apt/sources.list.d/raspi.list \
35+
RUN echo "Cache buster: v1" \
36+
&& echo "deb [signed-by=/etc/apt/keyrings/raspberrypi-archive.gpg] http://archive.raspberrypi.org/debian/ $(grep -E '^VERSION_CODENAME=' /etc/os-release | cut -d= -f2 | tr -d '"') main" > /etc/apt/sources.list.d/raspi.list \
3637
&& apt-get update \
3738
&& apt-get full-upgrade -y \
3839
&& apt-get clean && rm -rf /var/lib/apt/lists/*

0 commit comments

Comments
 (0)