From 6f833321b3fb122aa3d374ac83f7bc6e38ef1d6d Mon Sep 17 00:00:00 2001 From: Kroese Date: Sat, 16 Nov 2024 14:32:19 +0100 Subject: [PATCH] build: Pin Alpine version (#133) --- .github/workflows/check.yml | 2 +- Dockerfile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index c50b4f4..cda81f0 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -16,5 +16,5 @@ jobs: uses: hadolint/hadolint-action@v3.1.0 with: dockerfile: Dockerfile - ignore: DL3008,DL3020,DL3029,DL3059 + ignore: DL3008,DL3018,DL3020,DL3029,DL3059 failure-threshold: warning diff --git a/Dockerfile b/Dockerfile index 2cc77c4..75ca86e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,10 @@ -FROM --platform=$BUILDPLATFORM alpine AS builder +FROM --platform=$BUILDPLATFORM alpine:3.20 AS builder ARG VERSION_OPENCORE="1.0.2" ARG REPO_OPENCORE="https://github.com/acidanthera/OpenCorePkg" ADD $REPO_OPENCORE/releases/download/$VERSION_OPENCORE/OpenCore-$VERSION_OPENCORE-RELEASE.zip /tmp/opencore.zip -RUN apk --update add unzip && \ +RUN apk --update --no-cache add unzip && \ unzip /tmp/opencore.zip -d /tmp/oc && \ cp /tmp/oc/Utilities/macserial/macserial.linux /macserial && \ rm -rf /tmp/* /var/tmp/* /var/cache/apk/*