Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
thaibault committed Jun 3, 2024
1 parent 13c89d9 commit e0f5c32
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -130,13 +130,14 @@ Include = /etc/pacman.d/mirrorlist' \
echo \
'Server = http://mirrors.xtom.com/archlinux/$repo/os/$arch' \
> /etc/pacman.d/mirrorlist; \
fi && \
fi
RUN \
if \
$BUILD_ARM_FROM_ARCHIVE && \
[ "$BASE_IMAGE" = '' ] && \
[[ "$TARGETARCH" == 'arm*' ]]; \
then \
arch-chroot /rootfs pacman \
chroot /rootfs pacman \
--remove \
--cascade \
--recursive \
Expand All @@ -146,7 +147,7 @@ Include = /etc/pacman.d/mirrorlist' \
netctl \
net-tools \
vi && \
arch-chroot /rootfs pacman \
chroot /rootfs pacman \
--refresh \
--sync \
--sysupgrade \
Expand Down

0 comments on commit e0f5c32

Please sign in to comment.