mirror of
https://github.com/dockersrc/almalinux
synced 2024-11-23 05:23:05 -05:00
🗃️ Committing everything that changed 🗃️
Some checks failed
release-tag / release-image (push) Failing after 24s
Some checks failed
release-tag / release-image (push) Failing after 24s
Dockerfile.9-dev
This commit is contained in:
parent
f65dd1394e
commit
2b0802adb1
@ -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; \
|
if [ -n "${PACK_LIST}" ];then echo "Installing packages: $PACK_LIST";echo "${PACK_LIST}" >/root/docker/setup/packages.txt;pkmgr install ${PACK_LIST};fi; \
|
||||||
echo ""
|
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"; \
|
RUN echo "Initializing packages before copying files to image"; \
|
||||||
$SHELL_OPTS; \
|
$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; \
|
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; \
|
||||||
|
Loading…
Reference in New Issue
Block a user