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,9 +2,13 @@
FROM opensuse/tumbleweed
RUN zypper -n refresh \
&& zypper -n dist-upgrade -y \
&& zypper -n install -y $PACKAGES $EXTRA_OPENSUSE
ARG PACKAGES
ENV PACKAGES="$PACKAGES"
ARG EXTRA_OPENSUSE
ENV EXTRA_OPENSUSE="$EXTRA_OPENSUSE"
#RUN zypper -n refresh && zypper -n dist-upgrade -y
RUN zypper -n refresh && zypper -n install -y $PACKAGES $EXTRA_OPENSUSE
COPY bin/main.sh /root/main.sh
RUN chmod +x /root/main.sh