From ec0783f945e5b4933734c516953404fd7c48bad5 Mon Sep 17 00:00:00 2001 From: itsmattkc <34096995+itsmattkc@users.noreply.github.com> Date: Tue, 25 Aug 2026 17:58:46 -0700 Subject: [PATCH] docker: pin base image hash to prevent unnecessary cache invalidation --- docker/android/Dockerfile | 2 +- docker/linux/Dockerfile | 2 +- docker/macos/Dockerfile | 2 +- docker/nintendoswitch/Dockerfile | 2 +- docker/orangepi_zero2w/Dockerfile | 2 +- docker/orangepi_zero3/Dockerfile | 2 +- docker/raspberrypi0w/Dockerfile | 2 +- docker/raspberrypi64/Dockerfile | 2 +- docker/windows/Dockerfile | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/docker/android/Dockerfile b/docker/android/Dockerfile index eb22628..17c1142 100644 --- a/docker/android/Dockerfile +++ b/docker/android/Dockerfile @@ -1,4 +1,4 @@ -FROM docker.io/ubuntu:24.04 +FROM docker.io/ubuntu:24.04@sha256:33ceb71981b602c1a7443a53469e4dba065f7503eab3078a2d7a57a2ab987517 # Install build dependencies RUN apt update && \ diff --git a/docker/linux/Dockerfile b/docker/linux/Dockerfile index c4d87f1..47220e1 100644 --- a/docker/linux/Dockerfile +++ b/docker/linux/Dockerfile @@ -1,4 +1,4 @@ -FROM docker.io/debian:bookworm +FROM docker.io/debian:bookworm@sha256:6ebd97fa83deb272194a2cf015b3d26a4d538e9ad3a7a79d544c8af5b0a01443 ARG ARCH=x86_64 ENV ARCH=${ARCH} diff --git a/docker/macos/Dockerfile b/docker/macos/Dockerfile index 5d7d3cb..ec97a34 100644 --- a/docker/macos/Dockerfile +++ b/docker/macos/Dockerfile @@ -1,4 +1,4 @@ -FROM docker.io/ubuntu:24.04 +FROM docker.io/ubuntu:24.04@sha256:33ceb71981b602c1a7443a53469e4dba065f7503eab3078a2d7a57a2ab987517 ENV DEBIAN_FRONTEND=noninteractive ENV TZ=Etc/UTC diff --git a/docker/nintendoswitch/Dockerfile b/docker/nintendoswitch/Dockerfile index 3a08e8d..7fc2358 100644 --- a/docker/nintendoswitch/Dockerfile +++ b/docker/nintendoswitch/Dockerfile @@ -1,4 +1,4 @@ -FROM docker.io/debian:trixie +FROM docker.io/debian:trixie@sha256:f324c7ff54321e8d9c588493a20244965938ce0aa50bbd1022d38010e9ffc4b1 ARG ARCH=x86_64 ENV ARCH=${ARCH} diff --git a/docker/orangepi_zero2w/Dockerfile b/docker/orangepi_zero2w/Dockerfile index c3f6936..7821595 100644 --- a/docker/orangepi_zero2w/Dockerfile +++ b/docker/orangepi_zero2w/Dockerfile @@ -1,4 +1,4 @@ -FROM docker.io/debian:trixie +FROM docker.io/debian:trixie@sha256:f324c7ff54321e8d9c588493a20244965938ce0aa50bbd1022d38010e9ffc4b1 ARG ARCH=x86_64 ENV ARCH=${ARCH} diff --git a/docker/orangepi_zero3/Dockerfile b/docker/orangepi_zero3/Dockerfile index dbfdacd..5c17586 100644 --- a/docker/orangepi_zero3/Dockerfile +++ b/docker/orangepi_zero3/Dockerfile @@ -1,4 +1,4 @@ -FROM docker.io/debian:trixie +FROM docker.io/debian:trixie@sha256:f324c7ff54321e8d9c588493a20244965938ce0aa50bbd1022d38010e9ffc4b1 ARG ARCH=x86_64 ENV ARCH=${ARCH} diff --git a/docker/raspberrypi0w/Dockerfile b/docker/raspberrypi0w/Dockerfile index 6b6cac2..a17c922 100644 --- a/docker/raspberrypi0w/Dockerfile +++ b/docker/raspberrypi0w/Dockerfile @@ -1,4 +1,4 @@ -FROM docker.io/debian:trixie +FROM docker.io/debian:trixie@sha256:f324c7ff54321e8d9c588493a20244965938ce0aa50bbd1022d38010e9ffc4b1 ARG ARCH=x86_64 ENV ARCH=${ARCH} diff --git a/docker/raspberrypi64/Dockerfile b/docker/raspberrypi64/Dockerfile index fa8401d..50c9bb8 100644 --- a/docker/raspberrypi64/Dockerfile +++ b/docker/raspberrypi64/Dockerfile @@ -1,4 +1,4 @@ -FROM docker.io/debian:trixie +FROM docker.io/debian:trixie@sha256:f324c7ff54321e8d9c588493a20244965938ce0aa50bbd1022d38010e9ffc4b1 ARG ARCH=x86_64 ENV ARCH=${ARCH} diff --git a/docker/windows/Dockerfile b/docker/windows/Dockerfile index 91fc774..eb1f2b3 100644 --- a/docker/windows/Dockerfile +++ b/docker/windows/Dockerfile @@ -1,4 +1,4 @@ -FROM docker.io/ubuntu:24.04 +FROM docker.io/ubuntu:24.04@sha256:33ceb71981b602c1a7443a53469e4dba065f7503eab3078a2d7a57a2ab987517 ENV DEBIAN_FRONTEND=noninteractive ENV TZ=Etc/UTC