Skip to content
Snippets Groups Projects
Commit 491ca670 authored by jurgenhaas's avatar jurgenhaas
Browse files

composer/plugin/docker4drupal#39 Add support for PHP 8.0

parent 95700308
No related branches found
No related tags found
No related merge requests found
......@@ -61,3 +61,11 @@ php-7.4:
- docker push ${CI_REGISTRY_IMAGE}/php-7.4:${VERSION}
only:
- tags
php-8.0:
stage: build
script:
- docker build --pull --build-arg PHP_VERSION=8.0 --build-arg VERSION=${VERSION} -t ${CI_REGISTRY_IMAGE}/php-8.0:${VERSION} .
- docker push ${CI_REGISTRY_IMAGE}/php-8.0:${VERSION}
only:
- tags
......@@ -53,7 +53,7 @@ The same test also works with other hosts where your public key is configured as
Go to the project root for which you want to use **L3D** and execute the installed script: simply type `l3d` at the command prompt.
It will ask you for the PHP version (input `7.0`, `7.1`, `7.2`, `7.3` or `7.4`), the project name and template to be used. Then it will download the matching **L3D** image and start a container for you. Furthermore you can choose, if want to use composer 1 for some reason. To downgrade just set the value `1`. The default is the version 2.
It will ask you for the PHP version (input `7.0`, `7.1`, `7.2`, `7.3`, `7.4` or `8.0`), the project name and template to be used. Then it will download the matching **L3D** image and start a container for you. Furthermore you can choose, if want to use composer 1 for some reason. To downgrade just set the value `1`. The default is the version 2.
Inside the container you'll find the directory `/drupal` which contains everything from your project's root. You can work from there by using these available tools:
......
......@@ -15,6 +15,8 @@ export PHP_VERSION=7.3
/usr/local/bin/update
export PHP_VERSION=7.4
/usr/local/bin/update
export PHP_VERSION=8.0
/usr/local/bin/update
echo "Cleaning old container"
docker kill l3drun >/dev/null
......@@ -10,6 +10,7 @@ function getConfig {
7.2 ) break;;
7.3 ) break;;
7.4 ) break;;
8.0 ) break;;
* ) echo "Version not supported.";;
esac
done
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment