This PR updates the Dockerfile to install PHP 8.1 and its libs
Test instructions
Stop and remove previous docker:
run docker ps -a, from the list (if any) remove the dockers using the docker name (last column), usually cs_forms_wordpress and cs_forms_mysql
docker rm cs_forms_wordpress
docker rm cs_forms mysql
remove any underlying images, run docker image ls -a. This time you need to use the IMAGE_ID. Repeat for as many images, related to Crowdsignal Forms, you find (you can check on the first column the name of the container who originated it)
docker image rm [IMAGE_ID]
Make a fresh build:
run make docker_build, verify it finishes without issues
run make docker_up, verify it runs without issues
open another terminal (docker will continue to run after docker_up) and run make docker_sh
once inside the docker, run php -v, you should see PHP 8.1
visit your docker at localhost:8000 and its admin area
This PR updates the Dockerfile to install PHP 8.1 and its libs
Test instructions
Stop and remove previous docker:
run
docker ps -a
, from the list (if any) remove the dockers using the docker name (last column), usuallycs_forms_wordpress
andcs_forms_mysql
remove any underlying images, run
docker image ls -a
. This time you need to use theIMAGE_ID
. Repeat for as many images, related to Crowdsignal Forms, you find (you can check on the first column the name of the container who originated it)Make a fresh build:
make docker_build
, verify it finishes without issuesmake docker_up
, verify it runs without issuesdocker_up
) and runmake docker_sh
php -v
, you should see PHP 8.1Closes 419-gh-Automattic/crowdsignal