mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2024-11-29 22:15:49 +08:00
Merge pull request #252 from sickcodes/file-downgrade-fixes-244
Downgrade file command for libguestfs
This commit is contained in:
commit
17631b47ef
@ -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'
|
||||||
|
Loading…
Reference in New Issue
Block a user