Move packages to env file and allow extras per distro.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
FROM archlinux:base
|
||||
|
||||
RUN pacman -Syu --noconfirm && pacman -Sy --noconfirm git bash curl sudo which
|
||||
RUN pacman -Syu --noconfirm && pacman -Sy --noconfirm $PACKAGES $EXTRA_ARCH
|
||||
|
||||
COPY bin/main.sh /root/main.sh
|
||||
RUN chmod +x /root/main.sh
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
FROM debian:trixie
|
||||
|
||||
RUN apt update && apt dist-upgrade -y && apt install -y git bash curl sudo which
|
||||
RUN apt update && apt dist-upgrade -y && apt install -y $PACKAGES $EXTRA_DEBIAN
|
||||
|
||||
COPY bin/main.sh /root/main.sh
|
||||
RUN chmod +x /root/main.sh
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
FROM fedora:latest
|
||||
|
||||
RUN dnf upgrade --refresh -y && dnf install -y git bash curl sudo which
|
||||
RUN dnf upgrade --refresh -y && dnf install -y $PACKAGES $EXTRA_FEDORA
|
||||
|
||||
COPY bin/main.sh /root/main.sh
|
||||
RUN chmod +x /root/main.sh
|
||||
|
@@ -4,7 +4,7 @@ FROM opensuse/tumbleweed
|
||||
|
||||
RUN zypper -n refresh \
|
||||
&& zypper -n dist-upgrade -y \
|
||||
&& zypper -n install -y git bash curl sudo which
|
||||
&& zypper -n install -y $PACKAGES $EXTRA_OPENSUSE
|
||||
|
||||
COPY bin/main.sh /root/main.sh
|
||||
RUN chmod +x /root/main.sh
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
FROM ubuntu:rolling
|
||||
|
||||
RUN apt update && apt dist-upgrade -y && apt install -y git bash curl sudo which
|
||||
RUN apt update && apt dist-upgrade -y && 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