mirror of
https://github.com/dockur/macos.git
synced 2026-03-11 08:34:24 +00:00
build: Pin Alpine version (#133)
This commit is contained in:
parent
c6ec08c0b5
commit
6f833321b3
2 changed files with 3 additions and 3 deletions
2
.github/workflows/check.yml
vendored
2
.github/workflows/check.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue