diff --git a/Dockerfile b/Dockerfile index 788d670..5ac61b9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -198,7 +198,7 @@ RUN if [[ "${LINUX}" == true ]]; then \ ; fi # 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 \ +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." diff --git a/Dockerfile.auto b/Dockerfile.auto index 937bcc3..6ec56fc 100644 --- a/Dockerfile.auto +++ b/Dockerfile.auto @@ -100,7 +100,7 @@ RUN patched_glibc=glibc-linux4-2.33-4-x86_64.pkg.tar.zst \ # 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 \ +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." diff --git a/Dockerfile.naked b/Dockerfile.naked index 052029e..742e1d9 100644 --- a/Dockerfile.naked +++ b/Dockerfile.naked @@ -89,7 +89,7 @@ RUN patched_glibc=glibc-linux4-2.33-4-x86_64.pkg.tar.zst \ # 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 \ +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."