Last active 1725808745

Dockerfile for rhel dev system

Dockerfile.dev Raw
1RUN echo "Setting up dev system"; \
2 bash -c "$(curl -q -LSsf "https://github.com/casjay-base/centos/raw/main/root/.local/bin/fetch-repo-file")"; \
3 [ ! -d "/usr/local/share/CasjaysDev/scripts" ] && \
4 git clone -q https://github.com/casjay-dotfiles/scripts "/usr/local/share/CasjaysDev/scripts" && \
5 /usr/local/share/CasjaysDev/scripts/install.sh; \
6 dnf module -y reset php;dnf module -y install php:remi-$PHP_VERSION; \
7 pkg="$(curl -q -LSsf "https://github.com/pkmgr/centos/raw/main/lists/development.list")"; \
8 [ -n "$pkg" ] && yum install -yy --skip-broken "$pkg"
9