Fix build process not being able to see packages.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -2,7 +2,13 @@
|
||||
|
||||
FROM debian:trixie
|
||||
|
||||
RUN apt update && apt dist-upgrade -y && apt install -y $PACKAGES $EXTRA_DEBIAN
|
||||
ARG PACKAGES
|
||||
ENV PACKAGES="$PACKAGES"
|
||||
ARG EXTRA_DEBIAN
|
||||
ENV EXTRA_DEBIAN="$EXTRA_DEBIAN"
|
||||
|
||||
#RUN apt update && apt dist-upgrade -y
|
||||
RUN apt update && apt install -y $PACKAGES $EXTRA_DEBIAN
|
||||
|
||||
COPY bin/main.sh /root/main.sh
|
||||
RUN chmod +x /root/main.sh
|
||||
|
||||
@@ -2,7 +2,13 @@
|
||||
|
||||
FROM fedora:latest
|
||||
|
||||
RUN dnf upgrade --refresh -y && dnf install -y $PACKAGES $EXTRA_FEDORA
|
||||
ARG PACKAGES
|
||||
ENV PACKAGES="$PACKAGES"
|
||||
ARG EXTRA_FEDORA
|
||||
ENV EXTRA_FEDORA="$EXTRA_FEDORA"
|
||||
|
||||
#RUN dnf upgrade --refresh -y
|
||||
RUN dnf install --refresh -y $PACKAGES $EXTRA_FEDORA
|
||||
|
||||
COPY bin/main.sh /root/main.sh
|
||||
RUN chmod +x /root/main.sh
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -2,7 +2,13 @@
|
||||
|
||||
FROM ubuntu:rolling
|
||||
|
||||
RUN apt update && apt dist-upgrade -y && apt install -y $PACKAGES $EXTRA_UBUNTU
|
||||
ARG PACKAGES
|
||||
ENV PACKAGES="$PACKAGES"
|
||||
ARG EXTRA_UBUNTU
|
||||
ENV EXTRA_UBUNTU="$EXTRA_UBUNTU"
|
||||
|
||||
#RUN apt update && apt dist-upgrade -y
|
||||
RUN apt update && apt install -y $PACKAGES $EXTRA_UBUNTU
|
||||
|
||||
COPY bin/main.sh /root/main.sh
|
||||
RUN chmod +x /root/main.sh
|
||||
|
||||
Reference in New Issue
Block a user