From 2b0802adb1a45d35f5623a2634c80535bb46c826 Mon Sep 17 00:00:00 2001 From: casjay Date: Wed, 4 Sep 2024 18:39:28 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=97=83=EF=B8=8F=20Committing=20everything?= =?UTF-8?q?=20that=20changed=20=F0=9F=97=83=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Dockerfile.9-dev --- Dockerfile.9-dev | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Dockerfile.9-dev b/Dockerfile.9-dev index 0714cfa..21c17e7 100644 --- a/Dockerfile.9-dev +++ b/Dockerfile.9-dev @@ -106,6 +106,14 @@ RUN echo "Setting up and installing packages"; \ if [ -n "${PACK_LIST}" ];then echo "Installing packages: $PACK_LIST";echo "${PACK_LIST}" >/root/docker/setup/packages.txt;pkmgr install ${PACK_LIST};fi; \ echo "" +RUN echo "Setting up dev system" \ + yum install -y git curl wget \ + bash -c "$(curl -q -LSsf "https://github.com/casjay-base/centos/raw/main/root/.local/bin/fetch-repo-file")" \ + PHP_VER="7.4";dnf module -y reset php;dnf module -y install php:remi-$PHP_VER \ + sudo bash -c "$(curl -q -LSsf "https://github.com/pkmgr/centos/raw/main/scripts/min.sh")" \ + pkg="$(curl -q -LSsf "https://github.com/pkmgr/centos/raw/main/lists/development.list" )" \ + [ -n "$pkg" ] && yum install -yy $pkg + RUN echo "Initializing packages before copying files to image"; \ $SHELL_OPTS; \ if [ -f "/root/docker/setup/02-packages.sh" ];then echo "Running the packages script";/root/docker/setup/02-packages.sh||{ echo "Failed to execute /root/docker/setup/02-packages.sh" >&2 && exit 10; };echo "Done running the packages script";fi; \