aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile.auto
diff options
context:
space:
mode:
authorsickcodes <[email protected]>2021-04-18 19:28:03 +0000
committersickcodes <[email protected]>2021-04-18 19:28:03 +0000
commit309ff1cd5170245273c8e9dba2673a5b0c517e78 (patch)
tree945c0b593bd871e36cf6818b02c4e2a9026428e7 /Dockerfile.auto
parentMerge pull request #252 from sickcodes/file-downgrade-fixes-244 (diff)
downloaddocker-osx-309ff1cd5170245273c8e9dba2673a5b0c517e78.tar.xz
docker-osx-309ff1cd5170245273c8e9dba2673a5b0c517e78.zip
Downgrade file to 5.39 due to libguestfs bug. All Dockerfiles though.file-downgrade-all-images
Diffstat (limited to 'Dockerfile.auto')
-rw-r--r--Dockerfile.auto7
1 files changed, 7 insertions, 0 deletions
diff --git a/Dockerfile.auto b/Dockerfile.auto
index 56aba71..937bcc3 100644
--- a/Dockerfile.auto
+++ b/Dockerfile.auto
@@ -99,6 +99,13 @@ RUN patched_glibc=glibc-linux4-2.33-4-x86_64.pkg.tar.zst \
&& bsdtar -C / -xvf "${patched_glibc}" || echo "Everything is fine."
# TEMP-FIX for pacman issue
+# 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
+
USER arch
WORKDIR /home/arch/OSX-KVM