aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorsickcodes <[email protected]>2021-04-18 19:29:43 +0000
committerGitHub <[email protected]>2021-04-18 19:29:43 +0000
commit869b5fafd6d910e8e8c8c3a99a2b5dc90c33c6ee (patch)
tree945c0b593bd871e36cf6818b02c4e2a9026428e7 /Dockerfile
parentMerge pull request #252 from sickcodes/file-downgrade-fixes-244 (diff)
parentDowngrade file to 5.39 due to libguestfs bug. All Dockerfiles though. (diff)
downloaddocker-osx-869b5fafd6d910e8e8c8c3a99a2b5dc90c33c6ee.tar.xz
docker-osx-869b5fafd6d910e8e8c8c3a99a2b5dc90c33c6ee.zip
Merge pull request #253 from sickcodes/file-downgrade-all-images
Downgrade file to 5.39 due to libguestfs bug. All Dockerfiles though.
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index 8221eaa..788d670 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -197,10 +197,12 @@ 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 \
+# TEMP-FIX for file 5.40 libguestfs issue
+RUN yes | 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."
+# TEMP-FIX for file 5.40 libguestfs issue
# optional --build-arg to change branches for testing
ARG BRANCH=master