mirror of
https://github.com/dockersrc/archlinux
synced 2026-01-27 04:34:36 -05:00
🐳 Update codebase 🐳
Dockerfile Dockerfile.base
This commit is contained in:
@@ -78,6 +78,7 @@ COPY ./dockerfs/usr/local/bin/. /usr/local/bin/
|
|||||||
|
|
||||||
RUN set -e; \
|
RUN set -e; \
|
||||||
echo "Updating the system and ensuring bash is installed"; \
|
echo "Updating the system and ensuring bash is installed"; \
|
||||||
|
sed -i 's/^#DisableSandbox/DisableSandbox/' /etc/pacman.conf || sed -i '/\[options\]/a DisableSandbox' /etc/pacman.conf; \
|
||||||
pkmgr update;pkmgr install bash
|
pkmgr update;pkmgr install bash
|
||||||
|
|
||||||
RUN set -e; \
|
RUN set -e; \
|
||||||
|
|||||||
@@ -12,7 +12,13 @@ FROM --platform=$TARGETPLATFORM lopsided/archlinux-arm64v8:latest AS base-arm64
|
|||||||
FROM base-${TARGETARCH} AS base
|
FROM base-${TARGETARCH} AS base
|
||||||
|
|
||||||
# Update system and install essential packages
|
# Update system and install essential packages
|
||||||
RUN pacman -Syyu --noconfirm; \
|
RUN set -e; \
|
||||||
|
if grep -q "^#DisableSandbox" /etc/pacman.conf 2>/dev/null; then \
|
||||||
|
sed -i 's/^#DisableSandbox/DisableSandbox/' /etc/pacman.conf; \
|
||||||
|
else \
|
||||||
|
sed -i '/\[options\]/a DisableSandbox' /etc/pacman.conf; \
|
||||||
|
fi; \
|
||||||
|
pacman -Syyu --noconfirm; \
|
||||||
pacman -Syyu --noconfirm git curl wget bash glibc-locales; \
|
pacman -Syyu --noconfirm git curl wget bash glibc-locales; \
|
||||||
pacman -Scc --noconfirm
|
pacman -Scc --noconfirm
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user