-
Spin up a CentOS 7 server on Digital Ocean with 2G memory using Test Ocean stack. It may also be run from within a
centos:7
Docker container.terraform apply -var droplet_image=centos-7-x64 -var droplet_size=2gb -var droplet_count=1
-
SSH into the server (dropping into root via
sudo -i
) then run the following to execute the script.curl -s https://raw.githubusercontent.com/davidalger/docker-images-php/master/scripts/php74-build.sh?t=$(date +%s) | bash
Images built using the RPMs resulting from this script are available here: https://hub.docker.com/r/davidalger/php/tags?page=1&name=7.4