jason revised this gist 1 year ago. Go to revision
No changes
casjay revised this gist 1 year ago. Go to revision
1 file changed, 8 insertions
Dockerfile.dev(file created)
| @@ -0,0 +1,8 @@ | |||
| 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" | |
Newer
Older