fix build issue with cache causing pacman problems
All checks were successful
Gitea Actions Demo / build-arch-toolbox (push) Successful in 6m9s
All checks were successful
Gitea Actions Demo / build-arch-toolbox (push) Successful in 6m9s
This commit is contained in:
@@ -1,5 +1,14 @@
|
||||
FROM quay.io/toolbx/arch-toolbox:latest
|
||||
|
||||
# Pacman Setup
|
||||
# Enable multilib
|
||||
RUN tee -a /etc/pacman.conf <<EOF
|
||||
[multilib]
|
||||
Include = /etc/pacman.d/mirrorlist
|
||||
EOF
|
||||
# Set architecture to x86_64 manually because auto doesn't work.
|
||||
RUN sed -i 's/Architecture = auto/Architecture = x86_64/' /etc/pacman.conf
|
||||
# Get updates
|
||||
RUN pacman -Syu --noconfirm
|
||||
|
||||
# Install zsh
|
||||
@@ -38,11 +47,7 @@ RUN ./aws/install
|
||||
RUN pacman -S --noconfirm podman
|
||||
|
||||
# Wine
|
||||
COPY <<EOF /etc/pacman.conf
|
||||
[multilib]
|
||||
Include = /etc/pacman.d/mirrorlist
|
||||
EOF
|
||||
RUN pacman -Syu --noconfirm wine
|
||||
RUN pacman -Sy --noconfirm wine
|
||||
|
||||
##### RUN LAST #####
|
||||
|
||||
|
||||
Reference in New Issue
Block a user