Skip to content

Commit 6f83332

Browse files
authored
build: Pin Alpine version (#133)
1 parent c6ec08c commit 6f83332

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/check.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ jobs:
1616
uses: hadolint/[email protected]
1717
with:
1818
dockerfile: Dockerfile
19-
ignore: DL3008,DL3020,DL3029,DL3059
19+
ignore: DL3008,DL3018,DL3020,DL3029,DL3059
2020
failure-threshold: warning

Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
FROM --platform=$BUILDPLATFORM alpine AS builder
1+
FROM --platform=$BUILDPLATFORM alpine:3.20 AS builder
22

33
ARG VERSION_OPENCORE="1.0.2"
44
ARG REPO_OPENCORE="https://github.com/acidanthera/OpenCorePkg"
55
ADD $REPO_OPENCORE/releases/download/$VERSION_OPENCORE/OpenCore-$VERSION_OPENCORE-RELEASE.zip /tmp/opencore.zip
66

7-
RUN apk --update add unzip && \
7+
RUN apk --update --no-cache add unzip && \
88
unzip /tmp/opencore.zip -d /tmp/oc && \
99
cp /tmp/oc/Utilities/macserial/macserial.linux /macserial && \
1010
rm -rf /tmp/* /var/tmp/* /var/cache/apk/*

0 commit comments

Comments
 (0)