aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsickcodes <[email protected]>2021-04-18 16:40:27 +0000
committerGitHub <[email protected]>2021-04-18 16:40:27 +0000
commit17631b47efa2fb739d15ed8ee001a6be46343017 (patch)
treed2b6d1a198ebb17eac72602818e03891b2daf76a
parentMerge pull request #251 from sickcodes/libguestfs-exit (diff)
parent[@aronzvi](https://github.com/aronzvi) - Fixed Failed to boot OSX with GENERA... (diff)
downloaddocker-osx-17631b47efa2fb739d15ed8ee001a6be46343017.tar.xz
docker-osx-17631b47efa2fb739d15ed8ee001a6be46343017.zip
Merge pull request #252 from sickcodes/file-downgrade-fixes-244
Downgrade file command for libguestfs
-rw-r--r--Dockerfile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
index def686d..8221eaa 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -197,6 +197,11 @@ RUN if [[ "${LINUX}" == true ]]; then \
&& bsdtar -C / -xvf "${patched_glibc}" || echo "Everything is fine." \
; fi
+RUN yes | sudo pacman -U https://archive.archlinux.org/packages/f/file/file-5.39-1-x86_64.pkg.tar.zst \
+ && patched_glibc=glibc-linux4-2.33-4-x86_64.pkg.tar.zst \
+ && curl -LO "https://raw.githubusercontent.com/sickcodes/Docker-OSX/master/${patched_glibc}" \
+ && bsdtar -C / -xvf "${patched_glibc}" || echo "Everything is fine."
+
# optional --build-arg to change branches for testing
ARG BRANCH=master
ARG REPO='https://github.com/sickcodes/Docker-OSX.git'