Fix build process not being able to see packages.

This commit is contained in:
2025-10-22 20:51:57 -07:00
parent 369728b7ef
commit c0a220cebe
7 changed files with 55 additions and 12 deletions

View File

@@ -2,7 +2,13 @@
FROM archlinux:base
RUN pacman -Syu --noconfirm && pacman -Sy --noconfirm $PACKAGES $EXTRA_ARCH
ARG PACKAGES
ENV PACKAGES="$PACKAGES"
ARG EXTRA_ARCH
ENV EXTRA_ARCH="$EXTRA_ARCH"
#RUN pacman -Syu --noconfirm
RUN pacman -Sy --noconfirm $PACKAGES $EXTRA_ARCH
COPY bin/main.sh /root/main.sh
RUN chmod +x /root/main.sh