Merge pull request #252 from sickcodes/file-downgrade-fixes-244

Downgrade file command for libguestfs
This commit is contained in:
sickcodes 2021-04-18 16:40:27 +00:00 committed by GitHub
commit 17631b47ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -197,6 +197,11 @@ RUN if [[ "${LINUX}" == true ]]; then \
&& bsdtar -C / -xvf "${patched_glibc}" || echo "Everything is fine." \ && bsdtar -C / -xvf "${patched_glibc}" || echo "Everything is fine." \
; fi ; 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 # optional --build-arg to change branches for testing
ARG BRANCH=master ARG BRANCH=master
ARG REPO='https://github.com/sickcodes/Docker-OSX.git' ARG REPO='https://github.com/sickcodes/Docker-OSX.git'