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