Skip to content

Commit

Permalink
build: Pin Alpine version (#133)
Browse files Browse the repository at this point in the history
  • Loading branch information
kroese authored Nov 16, 2024
1 parent c6ec08c commit 6f83332
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ jobs:
uses: hadolint/[email protected]
with:
dockerfile: Dockerfile
ignore: DL3008,DL3020,DL3029,DL3059
ignore: DL3008,DL3018,DL3020,DL3029,DL3059
failure-threshold: warning
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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/*
Expand Down

0 comments on commit 6f83332

Please sign in to comment.