mirror of
https://github.com/devilbox/docker-php-fpm.git
synced 2025-12-19 15:31:15 +00:00
Compare commits
23 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9e247307ad | ||
|
|
b095b04ec3 | ||
|
|
5684fac8a2 | ||
|
|
eb6799ad29 | ||
|
|
1c53a0fd68 | ||
|
|
fabc29299c | ||
|
|
83b4cb6b43 | ||
|
|
dc438b0aad | ||
|
|
c8bd21ebbe | ||
|
|
b2476e3851 | ||
|
|
c06a3d2237 | ||
|
|
ce4f022c70 | ||
|
|
9c5326dc0f | ||
|
|
2701a524b9 | ||
|
|
acea0ac0fe | ||
|
|
3153b329f1 | ||
|
|
10285279c7 | ||
|
|
0a04342e46 | ||
|
|
dad684bfd1 | ||
|
|
9fabcf3b71 | ||
|
|
0669d92289 | ||
|
|
6d2053878a | ||
|
|
c3f46d3706 |
36
.github/workflows/php-ci.yml
vendored
36
.github/workflows/php-ci.yml
vendored
@@ -118,8 +118,8 @@ jobs:
|
|||||||
- name: Build Base
|
- name: Build Base
|
||||||
run: |
|
run: |
|
||||||
retry() {
|
retry() {
|
||||||
for ((n=0; n<${RETRIES}; n++)); do
|
for n in $(seq ${RETRIES}); do
|
||||||
echo "[${n}] ${*}";
|
echo "[${n}/${RETRIES}] ${*}";
|
||||||
if eval "${*}"; then
|
if eval "${*}"; then
|
||||||
return 0;
|
return 0;
|
||||||
fi;
|
fi;
|
||||||
@@ -135,8 +135,8 @@ jobs:
|
|||||||
- name: Test Base
|
- name: Test Base
|
||||||
run: |
|
run: |
|
||||||
retry() {
|
retry() {
|
||||||
for ((n=0; n<${RETRIES}; n++)); do
|
for n in $(seq ${RETRIES}); do
|
||||||
echo "[${n}] ${*}";
|
echo "[${n}/${RETRIES}] ${*}";
|
||||||
if eval "${*}"; then
|
if eval "${*}"; then
|
||||||
return 0;
|
return 0;
|
||||||
fi;
|
fi;
|
||||||
@@ -156,8 +156,8 @@ jobs:
|
|||||||
- name: Build Mods
|
- name: Build Mods
|
||||||
run: |
|
run: |
|
||||||
retry() {
|
retry() {
|
||||||
for ((n=0; n<${RETRIES}; n++)); do
|
for n in $(seq ${RETRIES}); do
|
||||||
echo "[${n}] ${*}";
|
echo "[${n}/${RETRIES}] ${*}";
|
||||||
if eval "${*}"; then
|
if eval "${*}"; then
|
||||||
return 0;
|
return 0;
|
||||||
fi;
|
fi;
|
||||||
@@ -173,8 +173,8 @@ jobs:
|
|||||||
- name: Test Mods
|
- name: Test Mods
|
||||||
run: |
|
run: |
|
||||||
retry() {
|
retry() {
|
||||||
for ((n=0; n<${RETRIES}; n++)); do
|
for n in $(seq ${RETRIES}); do
|
||||||
echo "[${n}] ${*}";
|
echo "[${n}/${RETRIES}] ${*}";
|
||||||
if eval "${*}"; then
|
if eval "${*}"; then
|
||||||
return 0;
|
return 0;
|
||||||
fi;
|
fi;
|
||||||
@@ -194,8 +194,8 @@ jobs:
|
|||||||
- name: Build Prod
|
- name: Build Prod
|
||||||
run: |
|
run: |
|
||||||
retry() {
|
retry() {
|
||||||
for ((n=0; n<${RETRIES}; n++)); do
|
for n in $(seq ${RETRIES}); do
|
||||||
echo "[${n}] ${*}";
|
echo "[${n}/${RETRIES}] ${*}";
|
||||||
if eval "${*}"; then
|
if eval "${*}"; then
|
||||||
return 0;
|
return 0;
|
||||||
fi;
|
fi;
|
||||||
@@ -211,8 +211,8 @@ jobs:
|
|||||||
- name: Test Prod
|
- name: Test Prod
|
||||||
run: |
|
run: |
|
||||||
retry() {
|
retry() {
|
||||||
for ((n=0; n<${RETRIES}; n++)); do
|
for n in $(seq ${RETRIES}); do
|
||||||
echo "[${n}] ${*}";
|
echo "[${n}/${RETRIES}] ${*}";
|
||||||
if eval "${*}"; then
|
if eval "${*}"; then
|
||||||
return 0;
|
return 0;
|
||||||
fi;
|
fi;
|
||||||
@@ -232,8 +232,8 @@ jobs:
|
|||||||
- name: Build Work
|
- name: Build Work
|
||||||
run: |
|
run: |
|
||||||
retry() {
|
retry() {
|
||||||
for ((n=0; n<${RETRIES}; n++)); do
|
for n in $(seq ${RETRIES}); do
|
||||||
echo "[${n}] ${*}";
|
echo "[${n}/${RETRIES}] ${*}";
|
||||||
if eval "${*}"; then
|
if eval "${*}"; then
|
||||||
return 0;
|
return 0;
|
||||||
fi;
|
fi;
|
||||||
@@ -249,8 +249,8 @@ jobs:
|
|||||||
- name: Test Work
|
- name: Test Work
|
||||||
run: |
|
run: |
|
||||||
retry() {
|
retry() {
|
||||||
for ((n=0; n<${RETRIES}; n++)); do
|
for n in $(seq ${RETRIES}); do
|
||||||
echo "[${n}] ${*}";
|
echo "[${n}/${RETRIES}] ${*}";
|
||||||
if eval "${*}"; then
|
if eval "${*}"; then
|
||||||
return 0;
|
return 0;
|
||||||
fi;
|
fi;
|
||||||
@@ -283,8 +283,8 @@ jobs:
|
|||||||
- name: Publish images (only repo owner)
|
- name: Publish images (only repo owner)
|
||||||
run: |
|
run: |
|
||||||
retry() {
|
retry() {
|
||||||
for ((n=0; n<${RETRIES}; n++)); do
|
for n in $(seq ${RETRIES}); do
|
||||||
echo "[${n}] ${*}";
|
echo "[${n}/${RETRIES}] ${*}";
|
||||||
if eval "${*}"; then
|
if eval "${*}"; then
|
||||||
return 0;
|
return 0;
|
||||||
fi;
|
fi;
|
||||||
|
|||||||
43
.github/workflows/php-nightly.yml
vendored
43
.github/workflows/php-nightly.yml
vendored
@@ -15,7 +15,6 @@ on:
|
|||||||
- cron: '0 0 * * *'
|
- cron: '0 0 * * *'
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# -------------------------------------------------------------------------------------------------
|
# -------------------------------------------------------------------------------------------------
|
||||||
# What to run
|
# What to run
|
||||||
# -------------------------------------------------------------------------------------------------
|
# -------------------------------------------------------------------------------------------------
|
||||||
@@ -55,6 +54,12 @@ jobs:
|
|||||||
RUNNER_CONTEXT: ${{ toJson(runner) }}
|
RUNNER_CONTEXT: ${{ toJson(runner) }}
|
||||||
run: echo "${RUNNER_CONTEXT}"
|
run: echo "${RUNNER_CONTEXT}"
|
||||||
|
|
||||||
|
- name: Show git info
|
||||||
|
env:
|
||||||
|
RUNNER_CONTEXT: ${{ toJson(runner) }}
|
||||||
|
run: |
|
||||||
|
git log | head -20
|
||||||
|
|
||||||
|
|
||||||
build:
|
build:
|
||||||
name: "[ ${{ matrix.version }} ]"
|
name: "[ ${{ matrix.version }} ]"
|
||||||
@@ -113,8 +118,8 @@ jobs:
|
|||||||
- name: Build Base
|
- name: Build Base
|
||||||
run: |
|
run: |
|
||||||
retry() {
|
retry() {
|
||||||
for ((n=0; n<${RETRIES}; n++)); do
|
for n in $(seq ${RETRIES}); do
|
||||||
echo "[${n}] ${*}";
|
echo "[${n}/${RETRIES}] ${*}";
|
||||||
if eval "${*}"; then
|
if eval "${*}"; then
|
||||||
return 0;
|
return 0;
|
||||||
fi;
|
fi;
|
||||||
@@ -130,8 +135,8 @@ jobs:
|
|||||||
- name: Test Base
|
- name: Test Base
|
||||||
run: |
|
run: |
|
||||||
retry() {
|
retry() {
|
||||||
for ((n=0; n<${RETRIES}; n++)); do
|
for n in $(seq ${RETRIES}); do
|
||||||
echo "[${n}] ${*}";
|
echo "[${n}/${RETRIES}] ${*}";
|
||||||
if eval "${*}"; then
|
if eval "${*}"; then
|
||||||
return 0;
|
return 0;
|
||||||
fi;
|
fi;
|
||||||
@@ -151,8 +156,8 @@ jobs:
|
|||||||
- name: Build Mods
|
- name: Build Mods
|
||||||
run: |
|
run: |
|
||||||
retry() {
|
retry() {
|
||||||
for ((n=0; n<${RETRIES}; n++)); do
|
for n in $(seq ${RETRIES}); do
|
||||||
echo "[${n}] ${*}";
|
echo "[${n}/${RETRIES}] ${*}";
|
||||||
if eval "${*}"; then
|
if eval "${*}"; then
|
||||||
return 0;
|
return 0;
|
||||||
fi;
|
fi;
|
||||||
@@ -168,8 +173,8 @@ jobs:
|
|||||||
- name: Test Mods
|
- name: Test Mods
|
||||||
run: |
|
run: |
|
||||||
retry() {
|
retry() {
|
||||||
for ((n=0; n<${RETRIES}; n++)); do
|
for n in $(seq ${RETRIES}); do
|
||||||
echo "[${n}] ${*}";
|
echo "[${n}/${RETRIES}] ${*}";
|
||||||
if eval "${*}"; then
|
if eval "${*}"; then
|
||||||
return 0;
|
return 0;
|
||||||
fi;
|
fi;
|
||||||
@@ -189,8 +194,8 @@ jobs:
|
|||||||
- name: Build Prod
|
- name: Build Prod
|
||||||
run: |
|
run: |
|
||||||
retry() {
|
retry() {
|
||||||
for ((n=0; n<${RETRIES}; n++)); do
|
for n in $(seq ${RETRIES}); do
|
||||||
echo "[${n}] ${*}";
|
echo "[${n}/${RETRIES}] ${*}";
|
||||||
if eval "${*}"; then
|
if eval "${*}"; then
|
||||||
return 0;
|
return 0;
|
||||||
fi;
|
fi;
|
||||||
@@ -206,8 +211,8 @@ jobs:
|
|||||||
- name: Test Prod
|
- name: Test Prod
|
||||||
run: |
|
run: |
|
||||||
retry() {
|
retry() {
|
||||||
for ((n=0; n<${RETRIES}; n++)); do
|
for n in $(seq ${RETRIES}); do
|
||||||
echo "[${n}] ${*}";
|
echo "[${n}/${RETRIES}] ${*}";
|
||||||
if eval "${*}"; then
|
if eval "${*}"; then
|
||||||
return 0;
|
return 0;
|
||||||
fi;
|
fi;
|
||||||
@@ -227,8 +232,8 @@ jobs:
|
|||||||
- name: Build Work
|
- name: Build Work
|
||||||
run: |
|
run: |
|
||||||
retry() {
|
retry() {
|
||||||
for ((n=0; n<${RETRIES}; n++)); do
|
for n in $(seq ${RETRIES}); do
|
||||||
echo "[${n}] ${*}";
|
echo "[${n}/${RETRIES}] ${*}";
|
||||||
if eval "${*}"; then
|
if eval "${*}"; then
|
||||||
return 0;
|
return 0;
|
||||||
fi;
|
fi;
|
||||||
@@ -244,8 +249,8 @@ jobs:
|
|||||||
- name: Test Work
|
- name: Test Work
|
||||||
run: |
|
run: |
|
||||||
retry() {
|
retry() {
|
||||||
for ((n=0; n<${RETRIES}; n++)); do
|
for n in $(seq ${RETRIES}); do
|
||||||
echo "[${n}] ${*}";
|
echo "[${n}/${RETRIES}] ${*}";
|
||||||
if eval "${*}"; then
|
if eval "${*}"; then
|
||||||
return 0;
|
return 0;
|
||||||
fi;
|
fi;
|
||||||
@@ -278,8 +283,8 @@ jobs:
|
|||||||
- name: Publish images (only repo owner)
|
- name: Publish images (only repo owner)
|
||||||
run: |
|
run: |
|
||||||
retry() {
|
retry() {
|
||||||
for ((n=0; n<${RETRIES}; n++)); do
|
for n in $(seq ${RETRIES}); do
|
||||||
echo "[${n}] ${*}";
|
echo "[${n}/${RETRIES}] ${*}";
|
||||||
if eval "${*}"; then
|
if eval "${*}"; then
|
||||||
return 0;
|
return 0;
|
||||||
fi;
|
fi;
|
||||||
|
|||||||
65
.travis.yml
65
.travis.yml
@@ -15,13 +15,6 @@ services:
|
|||||||
env:
|
env:
|
||||||
global:
|
global:
|
||||||
- IMAGE: devilbox/php-fpm
|
- IMAGE: devilbox/php-fpm
|
||||||
# travis encrypt DOCKER_USERNAME=user
|
|
||||||
# travis encrypt DOCKER_PASSWORD=pass
|
|
||||||
# Must be regenerated when repository name/owner changes
|
|
||||||
# DOCKER_USERNAME
|
|
||||||
- secure: "Y7xt3qZW9Zwrsgdd/aCf8ZqA7I039506ZDf/u/WVzGwNHta5YJJ7XYy8XG7XugyqGGXRVpfBiaqmDH4xsPLXyHXdOt2G38GXZHZXIgJOiEJ6aUfpdUxyeu8XIXkD2MDMmc3Kb27Yub/OadxRMLWEflzRnSXXs3KJ8TsbPHh0yRWDMsmHYOYl16gDGUX1izLkEx4J+9iA3+JwIFZk8by/OUuIIQ93bSNORpwHT8A1j7Y1kh8kYkPZ6nRxWO8xrc2wI1Rbp0X+ivLnOotxDZo53UI/0KroeSckDpoWfoz+B7mP+M+5B6kGlI2pKDNQB/ErYvnya6PdtFSS9skbvepR4tBhUOZDDY7NMRg9m3w0b9T1no+g3A4LBGXy6+OZZoiYAGy9LvqMhFkINqbBhRBX+mZhtG0pNXunfcu5dk81Ni/XpXDiy9JU98jItwsRj4SeaPfSt0LUNNXMS/fEwZyTy6TihN1CM3krJpV30Ic5rN64FRnrRjUuNU4lJ/W36yUhM29gb13ahh+f7sDsYoCzMwDM9HFe0YLb3ar3mW1lb3FuUugU2f2EupgCPY60X2XrY9aSgCfbdiVsA84dbLtRfHTPG7UbEcJW5RH8HS+9qVZBK+AcPqon9jbOJRVh7q99YW+R8X/XeyYpz7amacVmRus80+toZ16bbU7D2Qgjdek="
|
|
||||||
# DOCKER_PASSWORD
|
|
||||||
- secure: "ZRrVOVOkSCS2UxEi1HNF1iKefK4sDT/sPRl1HxMQjLnRRaAMdG0aRnBwQf2YAM2qzhCfN85qt6zZtC4awc2mHiZ88JrAZxBjK6xj4BwOyLbDuzpBsKXnx8Nix+wyYYKSjsC3LOYrsUe+4rvkw3tVvVaX8G2llojwdksF34VDmmHBmzCG/Bsexk7UqC+qw0PZm7BtctQO+IL0btmMDijRDElxfR+AuPvf9JdkhYzw9TOO7Jqd53NssNVGyL+XSV0dfGn8PkZTp1e8D+28pLK4oGVog+Wk7Cq94hSGjk5AkWKvL5441rupG1AA8K3njeDNMKdov4o+dmnkAH7Jh8tjShMhNhoxHce3IzpczjhoE1EyYQcyPf1qdfhV35Xv096iWX5809pp1MZF2oE5eism8JaU9NpGClryVbKVKtup8ko9/tCqz01Czq5Vue40feMkGtdePulg59OhyyPLYldsObw8QlZydkrmgVZe6b+GyybeiHraTfDq4pvTgUrC4Cmm5J3IB5Ig1THEiYKHfRJ5hSSMDDODeBXc8Xh6mFssEVshNx/jbUQWuAVYQFw/GIquVHxr6btbevrWIoD+zmqcc0L98u9pYH8w7b+gMgVJNCC4QQz2NCGGWw9l9/TmLrKJgeXbG18n8D314le1zuna6/VfH9pXIlbNO4hgz5NLHJk="
|
|
||||||
matrix:
|
matrix:
|
||||||
- PHP=5.2
|
- PHP=5.2
|
||||||
- PHP=5.3
|
- PHP=5.3
|
||||||
@@ -103,44 +96,44 @@ before_script:
|
|||||||
###
|
###
|
||||||
script:
|
script:
|
||||||
- if [ "${TRAVIS_PULL_REQUEST}" == "false" ]; then
|
- if [ "${TRAVIS_PULL_REQUEST}" == "false" ]; then
|
||||||
echo "${DOCKER_PASSWORD}" | docker login --username "${DOCKER_USERNAME}" --password-stdin &&
|
make login USERNAME="${DOCKER_USERNAME}" PASSWORD="${DOCKER_PASSWORD}";
|
||||||
if [ "${TRAVIS_BRANCH}" == "master" ]; then
|
if [ "${TRAVIS_BRANCH}" == "master" ]; then
|
||||||
echo "Pushing latest";
|
echo "Pushing latest";
|
||||||
until docker push "${IMAGE}:${PHP}-base"; do sleep 1; done;
|
make push TAG="${PHP}-base" &&
|
||||||
until docker push "${IMAGE}:${PHP}-mods"; do sleep 1; done;
|
make push TAG="${PHP}-mods" &&
|
||||||
until docker push "${IMAGE}:${PHP}-prod"; do sleep 1; done;
|
make push TAG="${PHP}-prod" &&
|
||||||
until docker push "${IMAGE}:${PHP}-work"; do sleep 1; done;
|
make push TAG="${PHP}-work";
|
||||||
elif [[ ${TRAVIS_BRANCH} =~ ^(release-[.0-9]+)$ ]]; then
|
elif [[ ${TRAVIS_BRANCH} =~ ^(release-[.0-9]+)$ ]]; then
|
||||||
echo "Pushing branch ${TRAVIS_BRANCH}";
|
echo "Pushing branch ${TRAVIS_BRANCH}";
|
||||||
docker tag "${IMAGE}:${PHP}-base" "${IMAGE}:${PHP}-base-${TRAVIS_BRANCH}" &&
|
make tag OLD_TAG="${PHP}-base" NEW_TAG="${PHP}-base-${TRAVIS_BRANCH}" &&
|
||||||
docker tag "${IMAGE}:${PHP}-mods" "${IMAGE}:${PHP}-mods-${TRAVIS_BRANCH}" &&
|
make tag OLD_TAG="${PHP}-mods" NEW_TAG="${PHP}-mods-${TRAVIS_BRANCH}" &&
|
||||||
docker tag "${IMAGE}:${PHP}-prod" "${IMAGE}:${PHP}-prod-${TRAVIS_BRANCH}" &&
|
make tag OLD_TAG="${PHP}-prod" NEW_TAG="${PHP}-prod-${TRAVIS_BRANCH}" &&
|
||||||
docker tag "${IMAGE}:${PHP}-work" "${IMAGE}:${PHP}-work-${TRAVIS_BRANCH}" &&
|
make tag OLD_TAG="${PHP}-work" NEW_TAG="${PHP}-work-${TRAVIS_BRANCH}" &&
|
||||||
until docker push "${IMAGE}:${PHP}-base-${TRAVIS_BRANCH}"; do sleep 1; done;
|
make push TAG="${PHP}-base-${TRAVIS_BRANCH}" &&
|
||||||
until docker push "${IMAGE}:${PHP}-mods-${TRAVIS_BRANCH}"; do sleep 1; done;
|
make push TAG="${PHP}-mods-${TRAVIS_BRANCH}" &&
|
||||||
until docker push "${IMAGE}:${PHP}-prod-${TRAVIS_BRANCH}"; do sleep 1; done;
|
make push TAG="${PHP}-prod-${TRAVIS_BRANCH}" &&
|
||||||
until docker push "${IMAGE}:${PHP}-work-${TRAVIS_BRANCH}"; do sleep 1; done;
|
make push TAG="${PHP}-work-${TRAVIS_BRANCH}";
|
||||||
elif [ -n "${TRAVIS_TAG}" ]; then
|
elif [ -n "${TRAVIS_TAG}" ]; then
|
||||||
echo "Pushing tag ${TRAVIS_TAG}";
|
echo "Pushing tag ${TRAVIS_TAG}";
|
||||||
docker tag "${IMAGE}:${PHP}-base" "${IMAGE}:${PHP}-base-${TRAVIS_TAG}" &&
|
make tag OLD_TAG="${PHP}-base" NEW_TAG="${PHP}-base-${TRAVIS_TAG}" &&
|
||||||
docker tag "${IMAGE}:${PHP}-mods" "${IMAGE}:${PHP}-mods-${TRAVIS_TAG}" &&
|
make tag OLD_TAG="${PHP}-mods" NEW_TAG="${PHP}-mods-${TRAVIS_TAG}" &&
|
||||||
docker tag "${IMAGE}:${PHP}-prod" "${IMAGE}:${PHP}-prod-${TRAVIS_TAG}" &&
|
make tag OLD_TAG="${PHP}-prod" NEW_TAG="${PHP}-prod-${TRAVIS_TAG}" &&
|
||||||
docker tag "${IMAGE}:${PHP}-work" "${IMAGE}:${PHP}-work-${TRAVIS_TAG}" &&
|
make tag OLD_TAG="${PHP}-work" NEW_TAG="${PHP}-work-${TRAVIS_TAG}" &&
|
||||||
until docker push "${IMAGE}:${PHP}-base-${TRAVIS_TAG}"; do sleep 1; done;
|
make push TAG="${PHP}-base-${TRAVIS_TAG}" &&
|
||||||
until docker push "${IMAGE}:${PHP}-mods-${TRAVIS_TAG}"; do sleep 1; done;
|
make push TAG="${PHP}-mods-${TRAVIS_TAG}" &&
|
||||||
until docker push "${IMAGE}:${PHP}-prod-${TRAVIS_TAG}"; do sleep 1; done;
|
make push TAG="${PHP}-prod-${TRAVIS_TAG}" &&
|
||||||
until docker push "${IMAGE}:${PHP}-work-${TRAVIS_TAG}"; do sleep 1; done;
|
make push TAG="${PHP}-work-${TRAVIS_TAG}";
|
||||||
elif [ "${TRAVIS_EVENT_TYPE}" = "cron" ]; then
|
elif [ "${TRAVIS_EVENT_TYPE}" = "cron" ]; then
|
||||||
if MY_TAG="$( git describe --exact-match "$(git rev-parse HEAD)" 2>/dev/null )"; then
|
if MY_TAG="$( git describe --exact-match "$(git rev-parse HEAD)" 2>/dev/null )"; then
|
||||||
echo "Pushing cron tag ${MY_TAG}";
|
echo "Pushing cron tag ${MY_TAG}";
|
||||||
docker tag "${IMAGE}:${PHP}-base" "${IMAGE}:${PHP}-base-${MY_TAG}" &&
|
make tag OLD_TAG="${PHP}-base" NEW_TAG="${PHP}-base-${MY_TAG}" &&
|
||||||
docker tag "${IMAGE}:${PHP}-mods" "${IMAGE}:${PHP}-mods-${MY_TAG}" &&
|
make tag OLD_TAG="${PHP}-mods" NEW_TAG="${PHP}-mods-${MY_TAG}" &&
|
||||||
docker tag "${IMAGE}:${PHP}-prod" "${IMAGE}:${PHP}-prod-${MY_TAG}" &&
|
make tag OLD_TAG="${PHP}-prod" NEW_TAG="${PHP}-prod-${MY_TAG}" &&
|
||||||
docker tag "${IMAGE}:${PHP}-work" "${IMAGE}:${PHP}-work-${MY_TAG}" &&
|
make tag OLD_TAG="${PHP}-work" NEW_TAG="${PHP}-work-${MY_TAG}" &&
|
||||||
until docker push "${IMAGE}:${PHP}-base-${MY_TAG}"; do sleep 1; done;
|
make push TAG="${PHP}-base-${MY_TAG}" &&
|
||||||
until docker push "${IMAGE}:${PHP}-mods-${MY_TAG}"; do sleep 1; done;
|
make push TAG="${PHP}-mods-${MY_TAG}" &&
|
||||||
until docker push "${IMAGE}:${PHP}-prod-${MY_TAG}"; do sleep 1; done;
|
make push TAG="${PHP}-prod-${MY_TAG}" &&
|
||||||
until docker push "${IMAGE}:${PHP}-work-${MY_TAG}"; do sleep 1; done;
|
make push TAG="${PHP}-work-${MY_TAG}";
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
echo "Skipping push to dockerhub on normal branches";
|
echo "Skipping push to dockerhub on normal branches";
|
||||||
|
|||||||
42
CHANGELOG.md
42
CHANGELOG.md
@@ -4,6 +4,48 @@
|
|||||||
## Unreleased
|
## Unreleased
|
||||||
|
|
||||||
|
|
||||||
|
## Release 0.110
|
||||||
|
|
||||||
|
#### Fixed
|
||||||
|
- [169](https://github.com/devilbox/docker-php-fpm/issues/169) Fixes download for drupal console
|
||||||
|
- Fixes laravel installer for PHP 7.2
|
||||||
|
|
||||||
|
|
||||||
|
## Release 0.109
|
||||||
|
|
||||||
|
#### Fixed
|
||||||
|
- Fixed absolute paths in tests
|
||||||
|
|
||||||
|
|
||||||
|
## Release 0.108
|
||||||
|
|
||||||
|
#### Added
|
||||||
|
- Added ghostscript
|
||||||
|
- Added gsfonts
|
||||||
|
- Added imagick PDF support (via ghostscript)
|
||||||
|
- Added mupdf and mupdf-tools
|
||||||
|
|
||||||
|
#### Fixed
|
||||||
|
- Fixes Ansible installation
|
||||||
|
- Fixes MongoDB for PHP 5.6
|
||||||
|
- Fixes Redis for PHP 8.0
|
||||||
|
- Fixes policy.xml for Imagick
|
||||||
|
|
||||||
|
#### Changed
|
||||||
|
- Stricter version check for installed tools
|
||||||
|
|
||||||
|
|
||||||
|
## Release 0.107
|
||||||
|
|
||||||
|
#### Fixed
|
||||||
|
- Fixes login to Dockerhub for CI jobs
|
||||||
|
- Fixes imagick segfault by setting its threads to 1
|
||||||
|
|
||||||
|
#### Added
|
||||||
|
- Re-added imap for PHP 7.4
|
||||||
|
- Adding `certbot` binary
|
||||||
|
|
||||||
|
|
||||||
## Release 0.106
|
## Release 0.106
|
||||||
|
|
||||||
#### Fixed
|
#### Fixed
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ RUN set -eux \
|
|||||||
alien \
|
alien \
|
||||||
firebird-dev \
|
firebird-dev \
|
||||||
freetds-dev \
|
freetds-dev \
|
||||||
|
ghostscript \
|
||||||
libaio-dev \
|
libaio-dev \
|
||||||
libbz2-dev \
|
libbz2-dev \
|
||||||
libc-client-dev \
|
libc-client-dev \
|
||||||
@@ -26,6 +27,7 @@ RUN set -eux \
|
|||||||
libjpeg-dev \
|
libjpeg-dev \
|
||||||
libkrb5-dev \
|
libkrb5-dev \
|
||||||
libldap2-dev \
|
libldap2-dev \
|
||||||
|
libmagickwand-dev \
|
||||||
libmcrypt-dev \
|
libmcrypt-dev \
|
||||||
libmemcached-dev \
|
libmemcached-dev \
|
||||||
libnghttp2-dev \
|
libnghttp2-dev \
|
||||||
@@ -41,6 +43,7 @@ RUN set -eux \
|
|||||||
libssl-dev \
|
libssl-dev \
|
||||||
libtidy-dev \
|
libtidy-dev \
|
||||||
libvpx-dev \
|
libvpx-dev \
|
||||||
|
libwebp5 \
|
||||||
libxml2-dev \
|
libxml2-dev \
|
||||||
libxpm-dev \
|
libxpm-dev \
|
||||||
libxslt-dev \
|
libxslt-dev \
|
||||||
@@ -194,6 +197,28 @@ RUN set -eux \
|
|||||||
&& true
|
&& true
|
||||||
|
|
||||||
|
|
||||||
|
# -------------------- Installing PHP Extension: imagick --------------------
|
||||||
|
RUN set -eux \
|
||||||
|
# Installation: Version specific
|
||||||
|
# Type: PECL extension
|
||||||
|
# Default: Pecl command
|
||||||
|
&& pecl install imagick \
|
||||||
|
# Enabling
|
||||||
|
&& docker-php-ext-enable imagick \
|
||||||
|
# Generic post-command
|
||||||
|
&& sed -i'' 's|.*"thread".*| <policy domain="resource" name="thread" value="1"/>|g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"PS".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"PS2".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"PS3".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"EPS".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"PDF".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"XPS".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"PS".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="delegate".*pattern="gs".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
\
|
||||||
|
&& true
|
||||||
|
|
||||||
|
|
||||||
# -------------------- Installing PHP Extension: imap --------------------
|
# -------------------- Installing PHP Extension: imap --------------------
|
||||||
RUN set -eux \
|
RUN set -eux \
|
||||||
# Generic pre-command
|
# Generic pre-command
|
||||||
@@ -688,6 +713,7 @@ COPY --from=builder /usr/lib/oracle/ /usr/lib/oracle/
|
|||||||
RUN set -eux \
|
RUN set -eux \
|
||||||
&& DEBIAN_FRONTEND=noninteractive apt-get update -qq \
|
&& DEBIAN_FRONTEND=noninteractive apt-get update -qq \
|
||||||
&& DEBIAN_FRONTEND=noninteractive apt-get install -qq -y --no-install-recommends --no-install-suggests \
|
&& DEBIAN_FRONTEND=noninteractive apt-get install -qq -y --no-install-recommends --no-install-suggests \
|
||||||
|
ghostscript \
|
||||||
libaio1 \
|
libaio1 \
|
||||||
libaspell15 \
|
libaspell15 \
|
||||||
libc-client2007e \
|
libc-client2007e \
|
||||||
@@ -696,6 +722,7 @@ RUN set -eux \
|
|||||||
libfreetype6 \
|
libfreetype6 \
|
||||||
libicu52 \
|
libicu52 \
|
||||||
libjpeg62-turbo \
|
libjpeg62-turbo \
|
||||||
|
libmagickwand-6.q16-2 \
|
||||||
libmcrypt4 \
|
libmcrypt4 \
|
||||||
libmemcachedutil2 \
|
libmemcachedutil2 \
|
||||||
libmysqlclient18 \
|
libmysqlclient18 \
|
||||||
@@ -708,6 +735,7 @@ RUN set -eux \
|
|||||||
libsybdb5 \
|
libsybdb5 \
|
||||||
libtidy-0.99-0 \
|
libtidy-0.99-0 \
|
||||||
libvpx1 \
|
libvpx1 \
|
||||||
|
libwebp5 \
|
||||||
libxpm4 \
|
libxpm4 \
|
||||||
libxslt1.1 \
|
libxslt1.1 \
|
||||||
libyaml-0-2 \
|
libyaml-0-2 \
|
||||||
@@ -722,6 +750,17 @@ RUN set -eux \
|
|||||||
### Post Install
|
### Post Install
|
||||||
###
|
###
|
||||||
RUN set -eux \
|
RUN set -eux \
|
||||||
|
# ---------- imagick ----------
|
||||||
|
&& sed -i'' 's|.*"thread".*| <policy domain="resource" name="thread" value="1"/>|g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"PS".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"PS2".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"PS3".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"EPS".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"PDF".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"XPS".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"PS".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="delegate".*pattern="gs".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
\
|
||||||
# ---------- oci8 ----------
|
# ---------- oci8 ----------
|
||||||
&& ORACLE_HREF="$( curl -sS https://yum.oracle.com/repo/OracleLinux/OL7/oracle/instantclient/x86_64/ | tac | tac | grep -Eo 'href="getPackage/oracle-instantclient.+basiclite.+rpm"' | tail -1 )" \
|
&& ORACLE_HREF="$( curl -sS https://yum.oracle.com/repo/OracleLinux/OL7/oracle/instantclient/x86_64/ | tac | tac | grep -Eo 'href="getPackage/oracle-instantclient.+basiclite.+rpm"' | tail -1 )" \
|
||||||
&& ORACLE_VERSION_MAJOR="$( echo "${ORACLE_HREF}" | grep -Eo 'instantclient[.0-9]+' | sed 's/instantclient//g' )" \
|
&& ORACLE_VERSION_MAJOR="$( echo "${ORACLE_HREF}" | grep -Eo 'instantclient[.0-9]+' | sed 's/instantclient//g' )" \
|
||||||
@@ -790,6 +829,8 @@ RUN set -eux \
|
|||||||
&& php-fpm -m | grep -oiE '^iconv$' \
|
&& php-fpm -m | grep -oiE '^iconv$' \
|
||||||
&& php -m | grep -oiE '^igbinary$' \
|
&& php -m | grep -oiE '^igbinary$' \
|
||||||
&& php-fpm -m | grep -oiE '^igbinary$' \
|
&& php-fpm -m | grep -oiE '^igbinary$' \
|
||||||
|
&& php -m | grep -oiE '^imagick$' \
|
||||||
|
&& php-fpm -m | grep -oiE '^imagick$' \
|
||||||
&& php -m | grep -oiE '^imap$' \
|
&& php -m | grep -oiE '^imap$' \
|
||||||
&& php-fpm -m | grep -oiE '^imap$' \
|
&& php-fpm -m | grep -oiE '^imap$' \
|
||||||
&& php -m | grep -oiE '^interbase$' \
|
&& php -m | grep -oiE '^interbase$' \
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ RUN set -eux \
|
|||||||
alien \
|
alien \
|
||||||
firebird-dev \
|
firebird-dev \
|
||||||
freetds-dev \
|
freetds-dev \
|
||||||
|
ghostscript \
|
||||||
libaio-dev \
|
libaio-dev \
|
||||||
libbz2-dev \
|
libbz2-dev \
|
||||||
libc-client-dev \
|
libc-client-dev \
|
||||||
@@ -220,6 +221,17 @@ RUN set -eux \
|
|||||||
&& pecl install imagick \
|
&& pecl install imagick \
|
||||||
# Enabling
|
# Enabling
|
||||||
&& docker-php-ext-enable imagick \
|
&& docker-php-ext-enable imagick \
|
||||||
|
# Generic post-command
|
||||||
|
&& sed -i'' 's|.*"thread".*| <policy domain="resource" name="thread" value="1"/>|g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"PS".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"PS2".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"PS3".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"EPS".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"PDF".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"XPS".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"PS".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="delegate".*pattern="gs".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
\
|
||||||
&& true
|
&& true
|
||||||
|
|
||||||
|
|
||||||
@@ -318,10 +330,10 @@ RUN set -eux \
|
|||||||
|
|
||||||
# -------------------- Installing PHP Extension: mongodb --------------------
|
# -------------------- Installing PHP Extension: mongodb --------------------
|
||||||
RUN set -eux \
|
RUN set -eux \
|
||||||
# Installation: Generic
|
# Installation: Version specific
|
||||||
# Type: PECL extension
|
# Type: PECL extension
|
||||||
# Default: Pecl command
|
# Default: Pecl command
|
||||||
&& pecl install mongodb \
|
&& pecl install mongodb-1.7.5 \
|
||||||
# Enabling
|
# Enabling
|
||||||
&& docker-php-ext-enable mongodb \
|
&& docker-php-ext-enable mongodb \
|
||||||
&& true
|
&& true
|
||||||
@@ -717,6 +729,7 @@ COPY --from=builder /usr/lib/oracle/ /usr/lib/oracle/
|
|||||||
RUN set -eux \
|
RUN set -eux \
|
||||||
&& DEBIAN_FRONTEND=noninteractive apt-get update -qq \
|
&& DEBIAN_FRONTEND=noninteractive apt-get update -qq \
|
||||||
&& DEBIAN_FRONTEND=noninteractive apt-get install -qq -y --no-install-recommends --no-install-suggests \
|
&& DEBIAN_FRONTEND=noninteractive apt-get install -qq -y --no-install-recommends --no-install-suggests \
|
||||||
|
ghostscript \
|
||||||
libaio1 \
|
libaio1 \
|
||||||
libaspell15 \
|
libaspell15 \
|
||||||
libc-client2007e \
|
libc-client2007e \
|
||||||
@@ -754,6 +767,17 @@ RUN set -eux \
|
|||||||
### Post Install
|
### Post Install
|
||||||
###
|
###
|
||||||
RUN set -eux \
|
RUN set -eux \
|
||||||
|
# ---------- imagick ----------
|
||||||
|
&& sed -i'' 's|.*"thread".*| <policy domain="resource" name="thread" value="1"/>|g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"PS".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"PS2".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"PS3".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"EPS".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"PDF".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"XPS".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"PS".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="delegate".*pattern="gs".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
\
|
||||||
# ---------- oci8 ----------
|
# ---------- oci8 ----------
|
||||||
&& ORACLE_HREF="$( curl -sS https://yum.oracle.com/repo/OracleLinux/OL7/oracle/instantclient/x86_64/ | tac | tac | grep -Eo 'href="getPackage/oracle-instantclient.+basiclite.+rpm"' | tail -1 )" \
|
&& ORACLE_HREF="$( curl -sS https://yum.oracle.com/repo/OracleLinux/OL7/oracle/instantclient/x86_64/ | tac | tac | grep -Eo 'href="getPackage/oracle-instantclient.+basiclite.+rpm"' | tail -1 )" \
|
||||||
&& ORACLE_VERSION_MAJOR="$( echo "${ORACLE_HREF}" | grep -Eo 'instantclient[.0-9]+' | sed 's/instantclient//g' )" \
|
&& ORACLE_VERSION_MAJOR="$( echo "${ORACLE_HREF}" | grep -Eo 'instantclient[.0-9]+' | sed 's/instantclient//g' )" \
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ RUN set -eux \
|
|||||||
alien \
|
alien \
|
||||||
firebird-dev \
|
firebird-dev \
|
||||||
freetds-dev \
|
freetds-dev \
|
||||||
|
ghostscript \
|
||||||
libaio-dev \
|
libaio-dev \
|
||||||
libbz2-dev \
|
libbz2-dev \
|
||||||
libc-client-dev \
|
libc-client-dev \
|
||||||
@@ -222,6 +223,17 @@ RUN set -eux \
|
|||||||
&& pecl install imagick \
|
&& pecl install imagick \
|
||||||
# Enabling
|
# Enabling
|
||||||
&& docker-php-ext-enable imagick \
|
&& docker-php-ext-enable imagick \
|
||||||
|
# Generic post-command
|
||||||
|
&& sed -i'' 's|.*"thread".*| <policy domain="resource" name="thread" value="1"/>|g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"PS".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"PS2".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"PS3".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"EPS".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"PDF".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"XPS".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"PS".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="delegate".*pattern="gs".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
\
|
||||||
&& true
|
&& true
|
||||||
|
|
||||||
|
|
||||||
@@ -688,10 +700,10 @@ RUN set -eux \
|
|||||||
|
|
||||||
# -------------------- Installing PHP Extension: yaml --------------------
|
# -------------------- Installing PHP Extension: yaml --------------------
|
||||||
RUN set -eux \
|
RUN set -eux \
|
||||||
# Installation: Generic
|
# Installation: Version specific
|
||||||
# Type: PECL extension
|
# Type: PECL extension
|
||||||
# Default: Pecl command
|
# Default: Pecl command
|
||||||
&& pecl install yaml \
|
&& pecl install yaml-2.0.4 \
|
||||||
# Enabling
|
# Enabling
|
||||||
&& docker-php-ext-enable yaml \
|
&& docker-php-ext-enable yaml \
|
||||||
&& true
|
&& true
|
||||||
@@ -763,6 +775,7 @@ COPY --from=builder /usr/lib/oracle/ /usr/lib/oracle/
|
|||||||
RUN set -eux \
|
RUN set -eux \
|
||||||
&& DEBIAN_FRONTEND=noninteractive apt-get update -qq \
|
&& DEBIAN_FRONTEND=noninteractive apt-get update -qq \
|
||||||
&& DEBIAN_FRONTEND=noninteractive apt-get install -qq -y --no-install-recommends --no-install-suggests \
|
&& DEBIAN_FRONTEND=noninteractive apt-get install -qq -y --no-install-recommends --no-install-suggests \
|
||||||
|
ghostscript \
|
||||||
libaio1 \
|
libaio1 \
|
||||||
libaspell15 \
|
libaspell15 \
|
||||||
libc-client2007e \
|
libc-client2007e \
|
||||||
@@ -801,6 +814,17 @@ RUN set -eux \
|
|||||||
### Post Install
|
### Post Install
|
||||||
###
|
###
|
||||||
RUN set -eux \
|
RUN set -eux \
|
||||||
|
# ---------- imagick ----------
|
||||||
|
&& sed -i'' 's|.*"thread".*| <policy domain="resource" name="thread" value="1"/>|g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"PS".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"PS2".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"PS3".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"EPS".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"PDF".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"XPS".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"PS".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="delegate".*pattern="gs".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
\
|
||||||
# ---------- oci8 ----------
|
# ---------- oci8 ----------
|
||||||
&& ORACLE_HREF="$( curl -sS https://yum.oracle.com/repo/OracleLinux/OL7/oracle/instantclient/x86_64/ | tac | tac | grep -Eo 'href="getPackage/oracle-instantclient.+basiclite.+rpm"' | tail -1 )" \
|
&& ORACLE_HREF="$( curl -sS https://yum.oracle.com/repo/OracleLinux/OL7/oracle/instantclient/x86_64/ | tac | tac | grep -Eo 'href="getPackage/oracle-instantclient.+basiclite.+rpm"' | tail -1 )" \
|
||||||
&& ORACLE_VERSION_MAJOR="$( echo "${ORACLE_HREF}" | grep -Eo 'instantclient[.0-9]+' | sed 's/instantclient//g' )" \
|
&& ORACLE_VERSION_MAJOR="$( echo "${ORACLE_HREF}" | grep -Eo 'instantclient[.0-9]+' | sed 's/instantclient//g' )" \
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ RUN set -eux \
|
|||||||
alien \
|
alien \
|
||||||
firebird-dev \
|
firebird-dev \
|
||||||
freetds-dev \
|
freetds-dev \
|
||||||
|
ghostscript \
|
||||||
libaio-dev \
|
libaio-dev \
|
||||||
libbz2-dev \
|
libbz2-dev \
|
||||||
libc-client-dev \
|
libc-client-dev \
|
||||||
@@ -222,6 +223,17 @@ RUN set -eux \
|
|||||||
&& pecl install imagick \
|
&& pecl install imagick \
|
||||||
# Enabling
|
# Enabling
|
||||||
&& docker-php-ext-enable imagick \
|
&& docker-php-ext-enable imagick \
|
||||||
|
# Generic post-command
|
||||||
|
&& sed -i'' 's|.*"thread".*| <policy domain="resource" name="thread" value="1"/>|g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"PS".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"PS2".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"PS3".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"EPS".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"PDF".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"XPS".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"PS".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="delegate".*pattern="gs".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
\
|
||||||
&& true
|
&& true
|
||||||
|
|
||||||
|
|
||||||
@@ -772,6 +784,7 @@ COPY --from=builder /usr/lib/oracle/ /usr/lib/oracle/
|
|||||||
RUN set -eux \
|
RUN set -eux \
|
||||||
&& DEBIAN_FRONTEND=noninteractive apt-get update -qq \
|
&& DEBIAN_FRONTEND=noninteractive apt-get update -qq \
|
||||||
&& DEBIAN_FRONTEND=noninteractive apt-get install -qq -y --no-install-recommends --no-install-suggests \
|
&& DEBIAN_FRONTEND=noninteractive apt-get install -qq -y --no-install-recommends --no-install-suggests \
|
||||||
|
ghostscript \
|
||||||
libaio1 \
|
libaio1 \
|
||||||
libaspell15 \
|
libaspell15 \
|
||||||
libc-client2007e \
|
libc-client2007e \
|
||||||
@@ -811,6 +824,17 @@ RUN set -eux \
|
|||||||
### Post Install
|
### Post Install
|
||||||
###
|
###
|
||||||
RUN set -eux \
|
RUN set -eux \
|
||||||
|
# ---------- imagick ----------
|
||||||
|
&& sed -i'' 's|.*"thread".*| <policy domain="resource" name="thread" value="1"/>|g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"PS".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"PS2".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"PS3".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"EPS".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"PDF".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"XPS".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"PS".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="delegate".*pattern="gs".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
\
|
||||||
# ---------- oci8 ----------
|
# ---------- oci8 ----------
|
||||||
&& ORACLE_HREF="$( curl -sS https://yum.oracle.com/repo/OracleLinux/OL7/oracle/instantclient/x86_64/ | tac | tac | grep -Eo 'href="getPackage/oracle-instantclient.+basiclite.+rpm"' | tail -1 )" \
|
&& ORACLE_HREF="$( curl -sS https://yum.oracle.com/repo/OracleLinux/OL7/oracle/instantclient/x86_64/ | tac | tac | grep -Eo 'href="getPackage/oracle-instantclient.+basiclite.+rpm"' | tail -1 )" \
|
||||||
&& ORACLE_VERSION_MAJOR="$( echo "${ORACLE_HREF}" | grep -Eo 'instantclient[.0-9]+' | sed 's/instantclient//g' )" \
|
&& ORACLE_VERSION_MAJOR="$( echo "${ORACLE_HREF}" | grep -Eo 'instantclient[.0-9]+' | sed 's/instantclient//g' )" \
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ RUN set -eux \
|
|||||||
alien \
|
alien \
|
||||||
firebird-dev \
|
firebird-dev \
|
||||||
freetds-dev \
|
freetds-dev \
|
||||||
|
ghostscript \
|
||||||
libaio-dev \
|
libaio-dev \
|
||||||
libbz2-dev \
|
libbz2-dev \
|
||||||
libc-client-dev \
|
libc-client-dev \
|
||||||
@@ -222,6 +223,17 @@ RUN set -eux \
|
|||||||
&& pecl install imagick \
|
&& pecl install imagick \
|
||||||
# Enabling
|
# Enabling
|
||||||
&& docker-php-ext-enable imagick \
|
&& docker-php-ext-enable imagick \
|
||||||
|
# Generic post-command
|
||||||
|
&& sed -i'' 's|.*"thread".*| <policy domain="resource" name="thread" value="1"/>|g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"PS".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"PS2".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"PS3".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"EPS".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"PDF".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"XPS".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"PS".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="delegate".*pattern="gs".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
\
|
||||||
&& true
|
&& true
|
||||||
|
|
||||||
|
|
||||||
@@ -776,6 +788,7 @@ COPY --from=builder /usr/lib/oracle/ /usr/lib/oracle/
|
|||||||
RUN set -eux \
|
RUN set -eux \
|
||||||
&& DEBIAN_FRONTEND=noninteractive apt-get update -qq \
|
&& DEBIAN_FRONTEND=noninteractive apt-get update -qq \
|
||||||
&& DEBIAN_FRONTEND=noninteractive apt-get install -qq -y --no-install-recommends --no-install-suggests \
|
&& DEBIAN_FRONTEND=noninteractive apt-get install -qq -y --no-install-recommends --no-install-suggests \
|
||||||
|
ghostscript \
|
||||||
libaio1 \
|
libaio1 \
|
||||||
libaspell15 \
|
libaspell15 \
|
||||||
libc-client2007e \
|
libc-client2007e \
|
||||||
@@ -815,6 +828,17 @@ RUN set -eux \
|
|||||||
### Post Install
|
### Post Install
|
||||||
###
|
###
|
||||||
RUN set -eux \
|
RUN set -eux \
|
||||||
|
# ---------- imagick ----------
|
||||||
|
&& sed -i'' 's|.*"thread".*| <policy domain="resource" name="thread" value="1"/>|g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"PS".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"PS2".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"PS3".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"EPS".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"PDF".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"XPS".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"PS".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="delegate".*pattern="gs".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
\
|
||||||
# ---------- oci8 ----------
|
# ---------- oci8 ----------
|
||||||
&& ORACLE_HREF="$( curl -sS https://yum.oracle.com/repo/OracleLinux/OL7/oracle/instantclient/x86_64/ | tac | tac | grep -Eo 'href="getPackage/oracle-instantclient.+basiclite.+rpm"' | tail -1 )" \
|
&& ORACLE_HREF="$( curl -sS https://yum.oracle.com/repo/OracleLinux/OL7/oracle/instantclient/x86_64/ | tac | tac | grep -Eo 'href="getPackage/oracle-instantclient.+basiclite.+rpm"' | tail -1 )" \
|
||||||
&& ORACLE_VERSION_MAJOR="$( echo "${ORACLE_HREF}" | grep -Eo 'instantclient[.0-9]+' | sed 's/instantclient//g' )" \
|
&& ORACLE_VERSION_MAJOR="$( echo "${ORACLE_HREF}" | grep -Eo 'instantclient[.0-9]+' | sed 's/instantclient//g' )" \
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ RUN set -eux \
|
|||||||
alien \
|
alien \
|
||||||
firebird-dev \
|
firebird-dev \
|
||||||
freetds-dev \
|
freetds-dev \
|
||||||
|
ghostscript \
|
||||||
libaio-dev \
|
libaio-dev \
|
||||||
libbz2-dev \
|
libbz2-dev \
|
||||||
libc-client-dev \
|
libc-client-dev \
|
||||||
@@ -222,6 +223,17 @@ RUN set -eux \
|
|||||||
&& pecl install imagick \
|
&& pecl install imagick \
|
||||||
# Enabling
|
# Enabling
|
||||||
&& docker-php-ext-enable imagick \
|
&& docker-php-ext-enable imagick \
|
||||||
|
# Generic post-command
|
||||||
|
&& sed -i'' 's|.*"thread".*| <policy domain="resource" name="thread" value="1"/>|g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"PS".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"PS2".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"PS3".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"EPS".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"PDF".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"XPS".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"PS".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="delegate".*pattern="gs".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
\
|
||||||
&& true
|
&& true
|
||||||
|
|
||||||
|
|
||||||
@@ -776,6 +788,7 @@ COPY --from=builder /usr/lib/oracle/ /usr/lib/oracle/
|
|||||||
RUN set -eux \
|
RUN set -eux \
|
||||||
&& DEBIAN_FRONTEND=noninteractive apt-get update -qq \
|
&& DEBIAN_FRONTEND=noninteractive apt-get update -qq \
|
||||||
&& DEBIAN_FRONTEND=noninteractive apt-get install -qq -y --no-install-recommends --no-install-suggests \
|
&& DEBIAN_FRONTEND=noninteractive apt-get install -qq -y --no-install-recommends --no-install-suggests \
|
||||||
|
ghostscript \
|
||||||
libaio1 \
|
libaio1 \
|
||||||
libaspell15 \
|
libaspell15 \
|
||||||
libc-client2007e \
|
libc-client2007e \
|
||||||
@@ -815,6 +828,17 @@ RUN set -eux \
|
|||||||
### Post Install
|
### Post Install
|
||||||
###
|
###
|
||||||
RUN set -eux \
|
RUN set -eux \
|
||||||
|
# ---------- imagick ----------
|
||||||
|
&& sed -i'' 's|.*"thread".*| <policy domain="resource" name="thread" value="1"/>|g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"PS".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"PS2".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"PS3".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"EPS".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"PDF".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"XPS".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"PS".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="delegate".*pattern="gs".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
\
|
||||||
# ---------- oci8 ----------
|
# ---------- oci8 ----------
|
||||||
&& ORACLE_HREF="$( curl -sS https://yum.oracle.com/repo/OracleLinux/OL7/oracle/instantclient/x86_64/ | tac | tac | grep -Eo 'href="getPackage/oracle-instantclient.+basiclite.+rpm"' | tail -1 )" \
|
&& ORACLE_HREF="$( curl -sS https://yum.oracle.com/repo/OracleLinux/OL7/oracle/instantclient/x86_64/ | tac | tac | grep -Eo 'href="getPackage/oracle-instantclient.+basiclite.+rpm"' | tail -1 )" \
|
||||||
&& ORACLE_VERSION_MAJOR="$( echo "${ORACLE_HREF}" | grep -Eo 'instantclient[.0-9]+' | sed 's/instantclient//g' )" \
|
&& ORACLE_VERSION_MAJOR="$( echo "${ORACLE_HREF}" | grep -Eo 'instantclient[.0-9]+' | sed 's/instantclient//g' )" \
|
||||||
|
|||||||
@@ -12,8 +12,10 @@ RUN set -eux \
|
|||||||
alien \
|
alien \
|
||||||
firebird-dev \
|
firebird-dev \
|
||||||
freetds-dev \
|
freetds-dev \
|
||||||
|
ghostscript \
|
||||||
libaio-dev \
|
libaio-dev \
|
||||||
libbz2-dev \
|
libbz2-dev \
|
||||||
|
libc-client-dev \
|
||||||
libcurl4-openssl-dev \
|
libcurl4-openssl-dev \
|
||||||
libenchant-dev \
|
libenchant-dev \
|
||||||
libevent-dev \
|
libevent-dev \
|
||||||
@@ -24,6 +26,7 @@ RUN set -eux \
|
|||||||
libib-util \
|
libib-util \
|
||||||
libicu-dev \
|
libicu-dev \
|
||||||
libjpeg-dev \
|
libjpeg-dev \
|
||||||
|
libkrb5-dev \
|
||||||
libldap2-dev \
|
libldap2-dev \
|
||||||
libmagickwand-dev \
|
libmagickwand-dev \
|
||||||
libmcrypt-dev \
|
libmcrypt-dev \
|
||||||
@@ -219,6 +222,29 @@ RUN set -eux \
|
|||||||
&& pecl install imagick \
|
&& pecl install imagick \
|
||||||
# Enabling
|
# Enabling
|
||||||
&& docker-php-ext-enable imagick \
|
&& docker-php-ext-enable imagick \
|
||||||
|
# Generic post-command
|
||||||
|
&& sed -i'' 's|.*"thread".*| <policy domain="resource" name="thread" value="1"/>|g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"PS".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"PS2".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"PS3".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"EPS".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"PDF".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"XPS".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"PS".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="delegate".*pattern="gs".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
\
|
||||||
|
&& true
|
||||||
|
|
||||||
|
|
||||||
|
# -------------------- Installing PHP Extension: imap --------------------
|
||||||
|
RUN set -eux \
|
||||||
|
# Generic pre-command
|
||||||
|
&& ln -s /usr/lib/x86_64-linux-gnu/libkrb5* /usr/lib/ \
|
||||||
|
# Installation: Generic
|
||||||
|
# Type: Built-in extension
|
||||||
|
# Custom: configure command
|
||||||
|
&& docker-php-ext-configure imap --with-kerberos --with-imap-ssl --with-imap \
|
||||||
|
&& docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) imap \
|
||||||
&& true
|
&& true
|
||||||
|
|
||||||
|
|
||||||
@@ -717,8 +743,10 @@ COPY --from=builder /usr/lib/oracle/ /usr/lib/oracle/
|
|||||||
RUN set -eux \
|
RUN set -eux \
|
||||||
&& DEBIAN_FRONTEND=noninteractive apt-get update -qq \
|
&& DEBIAN_FRONTEND=noninteractive apt-get update -qq \
|
||||||
&& DEBIAN_FRONTEND=noninteractive apt-get install -qq -y --no-install-recommends --no-install-suggests \
|
&& DEBIAN_FRONTEND=noninteractive apt-get install -qq -y --no-install-recommends --no-install-suggests \
|
||||||
|
ghostscript \
|
||||||
libaio1 \
|
libaio1 \
|
||||||
libaspell15 \
|
libaspell15 \
|
||||||
|
libc-client2007e \
|
||||||
libenchant1c2a \
|
libenchant1c2a \
|
||||||
libfbclient2 \
|
libfbclient2 \
|
||||||
libffi6 \
|
libffi6 \
|
||||||
@@ -754,6 +782,17 @@ RUN set -eux \
|
|||||||
### Post Install
|
### Post Install
|
||||||
###
|
###
|
||||||
RUN set -eux \
|
RUN set -eux \
|
||||||
|
# ---------- imagick ----------
|
||||||
|
&& sed -i'' 's|.*"thread".*| <policy domain="resource" name="thread" value="1"/>|g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"PS".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"PS2".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"PS3".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"EPS".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"PDF".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"XPS".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"PS".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="delegate".*pattern="gs".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
\
|
||||||
# ---------- oci8 ----------
|
# ---------- oci8 ----------
|
||||||
&& ORACLE_HREF="$( curl -sS https://yum.oracle.com/repo/OracleLinux/OL7/oracle/instantclient/x86_64/ | tac | tac | grep -Eo 'href="getPackage/oracle-instantclient.+basiclite.+rpm"' | tail -1 )" \
|
&& ORACLE_HREF="$( curl -sS https://yum.oracle.com/repo/OracleLinux/OL7/oracle/instantclient/x86_64/ | tac | tac | grep -Eo 'href="getPackage/oracle-instantclient.+basiclite.+rpm"' | tail -1 )" \
|
||||||
&& ORACLE_VERSION_MAJOR="$( echo "${ORACLE_HREF}" | grep -Eo 'instantclient[.0-9]+' | sed 's/instantclient//g' )" \
|
&& ORACLE_VERSION_MAJOR="$( echo "${ORACLE_HREF}" | grep -Eo 'instantclient[.0-9]+' | sed 's/instantclient//g' )" \
|
||||||
@@ -826,6 +865,8 @@ RUN set -eux \
|
|||||||
&& php-fpm -m | grep -oiE '^igbinary$' \
|
&& php-fpm -m | grep -oiE '^igbinary$' \
|
||||||
&& php -m | grep -oiE '^imagick$' \
|
&& php -m | grep -oiE '^imagick$' \
|
||||||
&& php-fpm -m | grep -oiE '^imagick$' \
|
&& php-fpm -m | grep -oiE '^imagick$' \
|
||||||
|
&& php -m | grep -oiE '^imap$' \
|
||||||
|
&& php-fpm -m | grep -oiE '^imap$' \
|
||||||
&& php -m | grep -oiE '^intl$' \
|
&& php -m | grep -oiE '^intl$' \
|
||||||
&& php-fpm -m | grep -oiE '^intl$' \
|
&& php-fpm -m | grep -oiE '^intl$' \
|
||||||
&& php -m | grep -oiE '^json$' \
|
&& php -m | grep -oiE '^json$' \
|
||||||
|
|||||||
@@ -179,48 +179,6 @@ RUN set -eux \
|
|||||||
&& true
|
&& true
|
||||||
|
|
||||||
|
|
||||||
# -------------------- Installing PHP Extension: mongodb --------------------
|
|
||||||
RUN set -eux \
|
|
||||||
# Installation: Version specific
|
|
||||||
# Type: GIT extension
|
|
||||||
&& git clone https://github.com/mongodb/mongo-php-driver /tmp/mongodb \
|
|
||||||
&& cd /tmp/mongodb \
|
|
||||||
# Custom: Install command
|
|
||||||
&& git checkout v1.6 \
|
|
||||||
&& git submodule update --init \
|
|
||||||
# FIXME: This is a work-around to mitigate compile error with PHP 8.0
|
|
||||||
&& rgrep -I 'TSRMLS_C' | cut -d':' -f1 | sort -u | xargs -n1 sed -i'' 's/TSRMLS_C)/)/g' \
|
|
||||||
&& rgrep -I 'TSRMLS_C' | cut -d':' -f1 | sort -u | xargs -n1 sed -i'' 's/TSRMLS_C,/,/g' \
|
|
||||||
&& rgrep -I 'TSRMLS_CC' | cut -d':' -f1 | sort -u | xargs -n1 sed -i'' 's/TSRMLS_CC)/)/g' \
|
|
||||||
&& rgrep -I 'TSRMLS_CC' | cut -d':' -f1 | sort -u | xargs -n1 sed -i'' 's/TSRMLS_CC,/,/g' \
|
|
||||||
&& rgrep -I 'TSRMLS_DC' | cut -d':' -f1 | sort -u | xargs -n1 sed -i'' 's/TSRMLS_DC)/)/g' \
|
|
||||||
&& rgrep -I 'TSRMLS_DC' | cut -d':' -f1 | sort -u | xargs -n1 sed -i'' 's/TSRMLS_DC,/,/g' \
|
|
||||||
&& sed -i'' 's/TSRMLS_SET_CTX(ctx);/\/\/TSRMLS_SET_CTX(ctx);/g' php_phongo.c \
|
|
||||||
&& sed -i'' 's/TSRMLS_FETCH();/\/\/TSRMLS_FETCH();/g' php_phongo.c \
|
|
||||||
&& sed -i'' 's/TSRMLS_FETCH();/\/\/TSRMLS_FETCH();/g' phongo_compat.h \
|
|
||||||
&& sed -i'' 's/TSRMLS_FETCH();/\/\/TSRMLS_FETCH();/g' src/bson.c \
|
|
||||||
\
|
|
||||||
&& sed -i'' 's/php_phongo_handler_binary.compare_objects.*//g' src/BSON/Binary.c \
|
|
||||||
&& sed -i'' 's/php_phongo_handler_dbpointer.compare_objects.*//g' src/BSON/DBPointer.c \
|
|
||||||
&& sed -i'' 's/php_phongo_handler_int64.compare_objects.*//g' src/BSON/Int64.c \
|
|
||||||
&& sed -i'' 's/php_phongo_handler_javascript.compare_objects.*//g' src/BSON/Javascript.c \
|
|
||||||
&& sed -i'' 's/php_phongo_handler_objectid.compare_objects.*//g' src/BSON/ObjectId.c \
|
|
||||||
&& sed -i'' 's/php_phongo_handler_symbol.compare_objects.*//g' src/BSON/Symbol.c \
|
|
||||||
&& sed -i'' 's/php_phongo_handler_timestamp.compare_objects.*//g' src/BSON/Timestamp.c \
|
|
||||||
&& sed -i'' 's/php_phongo_handler_regex.compare_objects.*//g' src/BSON/Regex.c \
|
|
||||||
&& sed -i'' 's/php_phongo_handler_server.compare_objects.*//g' src/MongoDB/Server.c \
|
|
||||||
&& sed -i'' 's/php_phongo_handler_utcdatetime.compare_objects.*//g' src/BSON/UTCDateTime.c \
|
|
||||||
\
|
|
||||||
&& phpize \
|
|
||||||
&& ./configure --enable-mongodb \
|
|
||||||
&& make all \
|
|
||||||
&& make install \
|
|
||||||
\
|
|
||||||
# Enabling
|
|
||||||
&& docker-php-ext-enable mongodb \
|
|
||||||
&& true
|
|
||||||
|
|
||||||
|
|
||||||
# -------------------- Installing PHP Extension: mysqli --------------------
|
# -------------------- Installing PHP Extension: mysqli --------------------
|
||||||
RUN set -eux \
|
RUN set -eux \
|
||||||
# Installation: Generic
|
# Installation: Generic
|
||||||
@@ -365,6 +323,10 @@ RUN set -eux \
|
|||||||
&& git checkout $(git for-each-ref --format='%(refname)' refs/tags | grep -E 'tags/[.0-9]+$' | sed 's|.*tags/||g' | sort -V | tail -1) \
|
&& git checkout $(git for-each-ref --format='%(refname)' refs/tags | grep -E 'tags/[.0-9]+$' | sed 's|.*tags/||g' | sort -V | tail -1) \
|
||||||
# Custom: Install command
|
# Custom: Install command
|
||||||
&& sed -i'' 's/, ZSTR_LEN(ra->algorithm)//g' redis_array_impl.c \
|
&& sed -i'' 's/, ZSTR_LEN(ra->algorithm)//g' redis_array_impl.c \
|
||||||
|
&& sed -i'' 's|.*sctx->cb\.no_separation.*||g' library.c \
|
||||||
|
&& sed -i'' 's|.*sctx->cb\.no_separation.*||g' redis_array_impl.c \
|
||||||
|
&& sed -i'' 's|.*sctx->cb\.no_separation.*||g' cluster_library.c \
|
||||||
|
&& sed -i'' 's|.*->no_separation.*||g' redis_array_impl.c \
|
||||||
&& phpize \
|
&& phpize \
|
||||||
&& ./configure --enable-redis \
|
&& ./configure --enable-redis \
|
||||||
&& make -j$(getconf _NPROCESSORS_ONLN) \
|
&& make -j$(getconf _NPROCESSORS_ONLN) \
|
||||||
@@ -451,16 +413,6 @@ RUN set -eux \
|
|||||||
&& true
|
&& true
|
||||||
|
|
||||||
|
|
||||||
# -------------------- Installing PHP Extension: xmlrpc --------------------
|
|
||||||
RUN set -eux \
|
|
||||||
# Installation: Generic
|
|
||||||
# Type: Built-in extension
|
|
||||||
# Custom: configure command
|
|
||||||
&& docker-php-ext-configure xmlrpc --with-libxml-dir=/usr --with-iconv-dir=/usr \
|
|
||||||
&& docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) xmlrpc \
|
|
||||||
&& true
|
|
||||||
|
|
||||||
|
|
||||||
# -------------------- Installing PHP Extension: xsl --------------------
|
# -------------------- Installing PHP Extension: xsl --------------------
|
||||||
RUN set -eux \
|
RUN set -eux \
|
||||||
# Installation: Generic
|
# Installation: Generic
|
||||||
@@ -640,8 +592,6 @@ RUN set -eux \
|
|||||||
&& php-fpm -m | grep -oiE '^mbstring$' \
|
&& php-fpm -m | grep -oiE '^mbstring$' \
|
||||||
&& php -m | grep -oiE '^memcached$' \
|
&& php -m | grep -oiE '^memcached$' \
|
||||||
&& php-fpm -m | grep -oiE '^memcached$' \
|
&& php-fpm -m | grep -oiE '^memcached$' \
|
||||||
&& php -m | grep -oiE '^mongodb$' \
|
|
||||||
&& php-fpm -m | grep -oiE '^mongodb$' \
|
|
||||||
&& php -m | grep -oiE '^mysqli$' \
|
&& php -m | grep -oiE '^mysqli$' \
|
||||||
&& php-fpm -m | grep -oiE '^mysqli$' \
|
&& php-fpm -m | grep -oiE '^mysqli$' \
|
||||||
&& php -m | grep -oiE '^mysqlnd$' \
|
&& php -m | grep -oiE '^mysqlnd$' \
|
||||||
@@ -713,8 +663,6 @@ RUN set -eux \
|
|||||||
&& php-fpm -m | grep -oiE '^xml$' \
|
&& php-fpm -m | grep -oiE '^xml$' \
|
||||||
&& php -m | grep -oiE '^xmlreader$' \
|
&& php -m | grep -oiE '^xmlreader$' \
|
||||||
&& php-fpm -m | grep -oiE '^xmlreader$' \
|
&& php-fpm -m | grep -oiE '^xmlreader$' \
|
||||||
&& php -m | grep -oiE '^xmlrpc$' \
|
|
||||||
&& php-fpm -m | grep -oiE '^xmlrpc$' \
|
|
||||||
&& php -m | grep -oiE '^xmlwriter$' \
|
&& php -m | grep -oiE '^xmlwriter$' \
|
||||||
&& php-fpm -m | grep -oiE '^xmlwriter$' \
|
&& php-fpm -m | grep -oiE '^xmlwriter$' \
|
||||||
&& php -m | grep -oiE '^xsl$' \
|
&& php -m | grep -oiE '^xsl$' \
|
||||||
|
|||||||
@@ -74,6 +74,7 @@ RUN set -eux \
|
|||||||
git-svn \
|
git-svn \
|
||||||
ghostscript \
|
ghostscript \
|
||||||
graphviz \
|
graphviz \
|
||||||
|
gsfonts \
|
||||||
hostname \
|
hostname \
|
||||||
htop \
|
htop \
|
||||||
imagemagick \
|
imagemagick \
|
||||||
@@ -89,6 +90,8 @@ RUN set -eux \
|
|||||||
mongodb-org-tools \
|
mongodb-org-tools \
|
||||||
moreutils \
|
moreutils \
|
||||||
mysql-client \
|
mysql-client \
|
||||||
|
mupdf \
|
||||||
|
mupdf-tools \
|
||||||
nano \
|
nano \
|
||||||
net-tools \
|
net-tools \
|
||||||
netcat \
|
netcat \
|
||||||
@@ -360,6 +363,9 @@ RUN set -eux \
|
|||||||
# -------------------- mixlib_config --------------------
|
# -------------------- mixlib_config --------------------
|
||||||
&& gem install mixlib-config -v 2.2.4 \
|
&& gem install mixlib-config -v 2.2.4 \
|
||||||
\
|
\
|
||||||
|
# -------------------- ffi --------------------
|
||||||
|
&& gem install ffi -v 1.12.2 \
|
||||||
|
\
|
||||||
# -------------------- rb_inotify --------------------
|
# -------------------- rb_inotify --------------------
|
||||||
&& gem install rb-inotify -v 0.9.10 \
|
&& gem install rb-inotify -v 0.9.10 \
|
||||||
\
|
\
|
||||||
@@ -381,13 +387,13 @@ RUN set -eux \
|
|||||||
###
|
###
|
||||||
RUN set -eux \
|
RUN set -eux \
|
||||||
# -------------------- ansible --------------------
|
# -------------------- ansible --------------------
|
||||||
&& pip install --no-cache-dir --force-reinstall ansible \
|
&& pip install --no-cache-dir --force-reinstall ansible || true \
|
||||||
\
|
\
|
||||||
# -------------------- yamllint --------------------
|
# -------------------- yamllint --------------------
|
||||||
&& pip install --no-cache-dir --force-reinstall yamllint \
|
&& pip install --no-cache-dir --force-reinstall yamllint || true \
|
||||||
\
|
\
|
||||||
# -------------------- yq --------------------
|
# -------------------- yq --------------------
|
||||||
&& pip install --no-cache-dir --force-reinstall yq \
|
&& pip install --no-cache-dir --force-reinstall yq || true \
|
||||||
\
|
\
|
||||||
\
|
\
|
||||||
&& rm -rf /root/.cache/pip \
|
&& rm -rf /root/.cache/pip \
|
||||||
@@ -440,38 +446,38 @@ RUN set -eux \
|
|||||||
|
|
||||||
RUN set -eux \
|
RUN set -eux \
|
||||||
# -------------------- Software --------------------
|
# -------------------- Software --------------------
|
||||||
&& su -c '. /opt/nvm/nvm.sh; nvm --version' devilbox | grep -E '^[.0-9]+' \
|
&& su -c '. /opt/nvm/nvm.sh; nvm --version' devilbox | grep -E '^[0-9][.0-9]+' \
|
||||||
&& regex-grep --version | grep -E '[.0-9]+' \
|
&& regex-grep --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& git-flow version | grep -E '[.0-9]+' \
|
&& git-flow version | grep -E '[0-9][.0-9]+' \
|
||||||
&& linkcheck --version | grep -E '^linkcheck\sv[.0-9]+' \
|
&& linkcheck --version | grep -E '^linkcheck\sv[0-9][.0-9]+' \
|
||||||
&& su - ${MY_USER} -c '/usr/local/src/linuxbrew/bin/brew --version' | grep -E 'Homebrew\s*[.0-9]+' \
|
&& su - ${MY_USER} -c '/usr/local/src/linuxbrew/bin/brew --version' | grep -E 'Homebrew\s*[0-9][.0-9]+' \
|
||||||
&& mysqldump-secure --version | grep -E 'Version:\s*[.0-9]+' \
|
&& mysqldump-secure --version | grep -E 'Version:\s*[0-9][.0-9]+' \
|
||||||
&& phpcs --version | grep -E 'version [.0-9]+' \
|
&& phpcs --version | grep -E 'version [0-9][.0-9]+' \
|
||||||
&& phpcbf --version | grep -E 'version [.0-9]+' \
|
&& phpcbf --version | grep -E 'version [0-9][.0-9]+' \
|
||||||
&& wkhtmltopdf --version | grep -E "^wkhtmltopdf [.0-9]+\s+\(.+patched.+\)" \
|
&& wkhtmltopdf --version | grep -E "^wkhtmltopdf [0-9][.0-9]+\s+\(.+patched.+\)" \
|
||||||
\
|
\
|
||||||
# -------------------- Composer --------------------
|
# -------------------- Composer --------------------
|
||||||
\
|
\
|
||||||
# -------------------- PIP --------------------
|
# -------------------- PIP --------------------
|
||||||
&& ansible --version | grep -E '^ansible [.0-9]+$' \
|
&& ansible --version | grep -E '^ansible [0-9][.0-9]+$' \
|
||||||
&& yamllint --version 2>&1 | grep -E '[.0-9]+' \
|
&& yamllint --version 2>&1 | grep -E '[0-9][.0-9]+' \
|
||||||
&& yq --version 2>&1 | grep -E '^yq\s+[.0-9]+$' \
|
&& yq --version 2>&1 | grep -E '^yq\s+[0-9][.0-9]+$' \
|
||||||
\
|
\
|
||||||
# -------------------- NPM --------------------
|
# -------------------- NPM --------------------
|
||||||
&& ng version 2>&1 | grep -iE 'Angular CLI:\s*[.0-9]+' \
|
&& ng version 2>&1 | grep -iE 'Angular CLI:\s*[0-9][.0-9]+' \
|
||||||
&& eslint -v | grep -E '[.0-9]+' \
|
&& eslint -v | grep -E '[0-9][.0-9]+' \
|
||||||
&& grunt --version | grep -E '[.0-9]+' \
|
&& grunt --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& gulp --version | grep -E '[.0-9]+' \
|
&& gulp --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& jsonlint --version | grep -E '[.0-9]+' \
|
&& jsonlint --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& pm2 --no-daemon --version | grep -E '[.0-9]+' \
|
&& pm2 --no-daemon --version | tail -1 | grep -E '[0-9][.0-9]+' \
|
||||||
&& mdlint --version | grep -E '[.0-9]+' \
|
&& mdlint --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& sass --version | grep -E '[.0-9]+' \
|
&& sass --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& stylelint --version | grep -E '[.0-9]+' \
|
&& stylelint --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& vue --version | grep -E '[.0-9]+' \
|
&& vue --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& webpack --version | grep -E '[.0-9]+' \
|
&& webpack --version | grep -E '[0-9][.0-9]+' \
|
||||||
\
|
\
|
||||||
# -------------------- GEM --------------------
|
# -------------------- GEM --------------------
|
||||||
&& mdl --version | grep -E '[.0-9]+' \
|
&& mdl --version | grep -E '[0-9][.0-9]+' \
|
||||||
\
|
\
|
||||||
# -------------------- Cleanup --------------------
|
# -------------------- Cleanup --------------------
|
||||||
&& rm -rf /home/devilbox/.cache/ \
|
&& rm -rf /home/devilbox/.cache/ \
|
||||||
|
|||||||
@@ -74,6 +74,7 @@ RUN set -eux \
|
|||||||
git-svn \
|
git-svn \
|
||||||
ghostscript \
|
ghostscript \
|
||||||
graphviz \
|
graphviz \
|
||||||
|
gsfonts \
|
||||||
hostname \
|
hostname \
|
||||||
htop \
|
htop \
|
||||||
imagemagick \
|
imagemagick \
|
||||||
@@ -89,6 +90,8 @@ RUN set -eux \
|
|||||||
mongodb-org-tools \
|
mongodb-org-tools \
|
||||||
moreutils \
|
moreutils \
|
||||||
mysql-client \
|
mysql-client \
|
||||||
|
mupdf \
|
||||||
|
mupdf-tools \
|
||||||
nano \
|
nano \
|
||||||
net-tools \
|
net-tools \
|
||||||
netcat \
|
netcat \
|
||||||
@@ -416,6 +419,9 @@ RUN set -eux \
|
|||||||
# -------------------- mixlib_config --------------------
|
# -------------------- mixlib_config --------------------
|
||||||
&& gem install mixlib-config -v 2.2.4 \
|
&& gem install mixlib-config -v 2.2.4 \
|
||||||
\
|
\
|
||||||
|
# -------------------- ffi --------------------
|
||||||
|
&& gem install ffi -v 1.12.2 \
|
||||||
|
\
|
||||||
# -------------------- rb_inotify --------------------
|
# -------------------- rb_inotify --------------------
|
||||||
&& gem install rb-inotify -v 0.9.10 \
|
&& gem install rb-inotify -v 0.9.10 \
|
||||||
\
|
\
|
||||||
@@ -437,13 +443,13 @@ RUN set -eux \
|
|||||||
###
|
###
|
||||||
RUN set -eux \
|
RUN set -eux \
|
||||||
# -------------------- ansible --------------------
|
# -------------------- ansible --------------------
|
||||||
&& pip install --no-cache-dir --force-reinstall ansible \
|
&& pip install --no-cache-dir --force-reinstall ansible || true \
|
||||||
\
|
\
|
||||||
# -------------------- yamllint --------------------
|
# -------------------- yamllint --------------------
|
||||||
&& pip install --no-cache-dir --force-reinstall yamllint \
|
&& pip install --no-cache-dir --force-reinstall yamllint || true \
|
||||||
\
|
\
|
||||||
# -------------------- yq --------------------
|
# -------------------- yq --------------------
|
||||||
&& pip install --no-cache-dir --force-reinstall yq \
|
&& pip install --no-cache-dir --force-reinstall yq || true \
|
||||||
\
|
\
|
||||||
\
|
\
|
||||||
&& rm -rf /root/.cache/pip \
|
&& rm -rf /root/.cache/pip \
|
||||||
@@ -496,46 +502,46 @@ RUN set -eux \
|
|||||||
|
|
||||||
RUN set -eux \
|
RUN set -eux \
|
||||||
# -------------------- Software --------------------
|
# -------------------- Software --------------------
|
||||||
&& composer --version 2>/dev/null | grep -E 'version\s*[.0-9]+' \
|
&& composer --version 2>/dev/null | grep -E 'version\s*[0-9][.0-9]+' \
|
||||||
&& su -c '. /opt/nvm/nvm.sh; nvm --version' devilbox | grep -E '^[.0-9]+' \
|
&& su -c '. /opt/nvm/nvm.sh; nvm --version' devilbox | grep -E '^[0-9][.0-9]+' \
|
||||||
&& regex-grep --version | grep -E '[.0-9]+' \
|
&& regex-grep --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& drush7 --version | grep -E '7[.0-9]+\s*$' \
|
&& drush7 --version | grep -E '7[.0-9]+\s*$' \
|
||||||
&& git-flow version | grep -E '[.0-9]+' \
|
&& git-flow version | grep -E '[0-9][.0-9]+' \
|
||||||
&& linkcheck --version | grep -E '^linkcheck\sv[.0-9]+' \
|
&& linkcheck --version | grep -E '^linkcheck\sv[0-9][.0-9]+' \
|
||||||
&& su - ${MY_USER} -c '/usr/local/src/linuxbrew/bin/brew --version' | grep -E 'Homebrew\s*[.0-9]+' \
|
&& su - ${MY_USER} -c '/usr/local/src/linuxbrew/bin/brew --version' | grep -E 'Homebrew\s*[0-9][.0-9]+' \
|
||||||
&& mysqldump-secure --version | grep -E 'Version:\s*[.0-9]+' \
|
&& mysqldump-secure --version | grep -E 'Version:\s*[0-9][.0-9]+' \
|
||||||
&& phalcon commands | grep -E '[.0-9]+' \
|
&& phalcon commands | grep -E '[0-9][.0-9]+' \
|
||||||
&& phpcs --version | grep -E 'version [.0-9]+' \
|
&& phpcs --version | grep -E 'version [0-9][.0-9]+' \
|
||||||
&& phpcbf --version | grep -E 'version [.0-9]+' \
|
&& phpcbf --version | grep -E 'version [0-9][.0-9]+' \
|
||||||
&& php-cs-fixer --version 2>&1 | grep -E 'Fixer\s+(version\s*)?[-_.0-9]+\s+' \
|
&& php-cs-fixer --version 2>&1 | grep -E 'Fixer\s+(version\s*)?[-_.0-9]+\s+' \
|
||||||
&& phpmd --version | grep -E '^PHPMD [.0-9]+' \
|
&& phpmd --version | grep -E '^PHPMD [0-9][.0-9]+' \
|
||||||
&& phpunit --version | grep -iE '^PHPUnit\s[.0-9]+' \
|
&& phpunit --version | grep -iE '^PHPUnit\s[0-9][.0-9]+' \
|
||||||
&& wkhtmltopdf --version | grep -E "^wkhtmltopdf [.0-9]+\s+\(.+patched.+\)" \
|
&& wkhtmltopdf --version | grep -E "^wkhtmltopdf [0-9][.0-9]+\s+\(.+patched.+\)" \
|
||||||
&& wp --allow-root --version | grep -E '[.0-9]+' \
|
&& wp --allow-root --version | grep -E '[0-9][.0-9]+' \
|
||||||
\
|
\
|
||||||
# -------------------- Composer --------------------
|
# -------------------- Composer --------------------
|
||||||
&& codecept --version 2>/dev/null | grep -E '^Codeception(\sversion)?\s[.0-9]+$' \
|
&& codecept --version 2>/dev/null | grep -E '^Codeception(\sversion)?\s[0-9][.0-9]+$' \
|
||||||
\
|
\
|
||||||
# -------------------- PIP --------------------
|
# -------------------- PIP --------------------
|
||||||
&& ansible --version | grep -E '^ansible [.0-9]+$' \
|
&& ansible --version | grep -E '^ansible [0-9][.0-9]+$' \
|
||||||
&& yamllint --version 2>&1 | grep -E '[.0-9]+' \
|
&& yamllint --version 2>&1 | grep -E '[0-9][.0-9]+' \
|
||||||
&& yq --version 2>&1 | grep -E '^yq\s+[.0-9]+$' \
|
&& yq --version 2>&1 | grep -E '^yq\s+[0-9][.0-9]+$' \
|
||||||
\
|
\
|
||||||
# -------------------- NPM --------------------
|
# -------------------- NPM --------------------
|
||||||
&& ng version 2>&1 | grep -iE 'Angular CLI:\s*[.0-9]+' \
|
&& ng version 2>&1 | grep -iE 'Angular CLI:\s*[0-9][.0-9]+' \
|
||||||
&& eslint -v | grep -E '[.0-9]+' \
|
&& eslint -v | grep -E '[0-9][.0-9]+' \
|
||||||
&& grunt --version | grep -E '[.0-9]+' \
|
&& grunt --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& gulp --version | grep -E '[.0-9]+' \
|
&& gulp --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& jsonlint --version | grep -E '[.0-9]+' \
|
&& jsonlint --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& pm2 --no-daemon --version | grep -E '[.0-9]+' \
|
&& pm2 --no-daemon --version | tail -1 | grep -E '[0-9][.0-9]+' \
|
||||||
&& mdlint --version | grep -E '[.0-9]+' \
|
&& mdlint --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& sass --version | grep -E '[.0-9]+' \
|
&& sass --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& stylelint --version | grep -E '[.0-9]+' \
|
&& stylelint --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& vue --version | grep -E '[.0-9]+' \
|
&& vue --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& webpack --version | grep -E '[.0-9]+' \
|
&& webpack --version | grep -E '[0-9][.0-9]+' \
|
||||||
\
|
\
|
||||||
# -------------------- GEM --------------------
|
# -------------------- GEM --------------------
|
||||||
&& mdl --version | grep -E '[.0-9]+' \
|
&& mdl --version | grep -E '[0-9][.0-9]+' \
|
||||||
\
|
\
|
||||||
# -------------------- Cleanup --------------------
|
# -------------------- Cleanup --------------------
|
||||||
&& rm -rf /home/devilbox/.cache/ \
|
&& rm -rf /home/devilbox/.cache/ \
|
||||||
|
|||||||
@@ -74,6 +74,7 @@ RUN set -eux \
|
|||||||
git-svn \
|
git-svn \
|
||||||
ghostscript \
|
ghostscript \
|
||||||
graphviz \
|
graphviz \
|
||||||
|
gsfonts \
|
||||||
hostname \
|
hostname \
|
||||||
htop \
|
htop \
|
||||||
imagemagick \
|
imagemagick \
|
||||||
@@ -89,6 +90,8 @@ RUN set -eux \
|
|||||||
mongodb-org-tools \
|
mongodb-org-tools \
|
||||||
moreutils \
|
moreutils \
|
||||||
mysql-client \
|
mysql-client \
|
||||||
|
mupdf \
|
||||||
|
mupdf-tools \
|
||||||
nano \
|
nano \
|
||||||
net-tools \
|
net-tools \
|
||||||
netcat \
|
netcat \
|
||||||
@@ -450,6 +453,9 @@ RUN set -eux \
|
|||||||
# -------------------- mixlib_config --------------------
|
# -------------------- mixlib_config --------------------
|
||||||
&& gem install mixlib-config -v 2.2.4 \
|
&& gem install mixlib-config -v 2.2.4 \
|
||||||
\
|
\
|
||||||
|
# -------------------- ffi --------------------
|
||||||
|
&& gem install ffi -v 1.12.2 \
|
||||||
|
\
|
||||||
# -------------------- rb_inotify --------------------
|
# -------------------- rb_inotify --------------------
|
||||||
&& gem install rb-inotify -v 0.9.10 \
|
&& gem install rb-inotify -v 0.9.10 \
|
||||||
\
|
\
|
||||||
@@ -471,13 +477,13 @@ RUN set -eux \
|
|||||||
###
|
###
|
||||||
RUN set -eux \
|
RUN set -eux \
|
||||||
# -------------------- ansible --------------------
|
# -------------------- ansible --------------------
|
||||||
&& pip install --no-cache-dir --force-reinstall ansible \
|
&& pip install --no-cache-dir --force-reinstall ansible || true \
|
||||||
\
|
\
|
||||||
# -------------------- yamllint --------------------
|
# -------------------- yamllint --------------------
|
||||||
&& pip install --no-cache-dir --force-reinstall yamllint \
|
&& pip install --no-cache-dir --force-reinstall yamllint || true \
|
||||||
\
|
\
|
||||||
# -------------------- yq --------------------
|
# -------------------- yq --------------------
|
||||||
&& pip install --no-cache-dir --force-reinstall yq \
|
&& pip install --no-cache-dir --force-reinstall yq || true \
|
||||||
\
|
\
|
||||||
\
|
\
|
||||||
&& rm -rf /root/.cache/pip \
|
&& rm -rf /root/.cache/pip \
|
||||||
@@ -530,50 +536,50 @@ RUN set -eux \
|
|||||||
|
|
||||||
RUN set -eux \
|
RUN set -eux \
|
||||||
# -------------------- Software --------------------
|
# -------------------- Software --------------------
|
||||||
&& composer --version 2>/dev/null | grep -E 'version\s*[.0-9]+' \
|
&& composer --version 2>/dev/null | grep -E 'version\s*[0-9][.0-9]+' \
|
||||||
&& su -c '. /opt/nvm/nvm.sh; nvm --version' devilbox | grep -E '^[.0-9]+' \
|
&& su -c '. /opt/nvm/nvm.sh; nvm --version' devilbox | grep -E '^[0-9][.0-9]+' \
|
||||||
&& regex-grep --version | grep -E '[.0-9]+' \
|
&& regex-grep --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& dep --version 2>/dev/null | grep -Ei 'deployer\s*(version\s*)?[.0-9]+' \
|
&& dep --version 2>/dev/null | grep -Ei 'deployer\s*(version\s*)?[0-9][.0-9]+' \
|
||||||
&& drush7 --version | grep -E '7[.0-9]+\s*$' \
|
&& drush7 --version | grep -E '7[.0-9]+\s*$' \
|
||||||
&& drush8 --version | grep -E '8[.0-9]+\s*$' \
|
&& drush8 --version | grep -E '8[.0-9]+\s*$' \
|
||||||
&& git-flow version | grep -E '[.0-9]+' \
|
&& git-flow version | grep -E '[0-9][.0-9]+' \
|
||||||
&& laravel --version | grep -E '(Installer|version)\s*[.0-9]+' \
|
&& laravel --version | grep -E '(Installer|version)\s*[0-9][.0-9]+' \
|
||||||
&& linkcheck --version | grep -E '^linkcheck\sv[.0-9]+' \
|
&& linkcheck --version | grep -E '^linkcheck\sv[0-9][.0-9]+' \
|
||||||
&& su - ${MY_USER} -c '/usr/local/src/linuxbrew/bin/brew --version' | grep -E 'Homebrew\s*[.0-9]+' \
|
&& su - ${MY_USER} -c '/usr/local/src/linuxbrew/bin/brew --version' | grep -E 'Homebrew\s*[0-9][.0-9]+' \
|
||||||
&& mysqldump-secure --version | grep -E 'Version:\s*[.0-9]+' \
|
&& mysqldump-secure --version | grep -E 'Version:\s*[0-9][.0-9]+' \
|
||||||
&& phalcon commands | grep -E '[.0-9]+' \
|
&& phalcon commands | grep -E '[0-9][.0-9]+' \
|
||||||
&& phpcs --version | grep -E 'version [.0-9]+' \
|
&& phpcs --version | grep -E 'version [0-9][.0-9]+' \
|
||||||
&& phpcbf --version | grep -E 'version [.0-9]+' \
|
&& phpcbf --version | grep -E 'version [0-9][.0-9]+' \
|
||||||
&& php-cs-fixer --version 2>&1 | grep -E 'Fixer\s+(version\s*)?[-_.0-9]+\s+' \
|
&& php-cs-fixer --version 2>&1 | grep -E 'Fixer\s+(version\s*)?[-_.0-9]+\s+' \
|
||||||
&& phpmd --version | grep -E '^PHPMD [.0-9]+' \
|
&& phpmd --version | grep -E '^PHPMD [0-9][.0-9]+' \
|
||||||
&& phpunit --version | grep -iE '^PHPUnit\s[.0-9]+' \
|
&& phpunit --version | grep -iE '^PHPUnit\s[0-9][.0-9]+' \
|
||||||
&& symfony -V | grep -Ei 'version\s*.*v[.0-9]+' \
|
&& symfony -V | grep -Ei 'version\s*.*v[0-9][.0-9]+' \
|
||||||
&& wkhtmltopdf --version | grep -E "^wkhtmltopdf [.0-9]+\s+\(.+patched.+\)" \
|
&& wkhtmltopdf --version | grep -E "^wkhtmltopdf [0-9][.0-9]+\s+\(.+patched.+\)" \
|
||||||
&& wp --allow-root --version | grep -E '[.0-9]+' \
|
&& wp --allow-root --version | grep -E '[0-9][.0-9]+' \
|
||||||
\
|
\
|
||||||
# -------------------- Composer --------------------
|
# -------------------- Composer --------------------
|
||||||
&& codecept --version 2>/dev/null | grep -E '^Codeception(\sversion)?\s[.0-9]+$' \
|
&& codecept --version 2>/dev/null | grep -E '^Codeception(\sversion)?\s[0-9][.0-9]+$' \
|
||||||
\
|
\
|
||||||
# -------------------- PIP --------------------
|
# -------------------- PIP --------------------
|
||||||
&& ansible --version | grep -E '^ansible [.0-9]+$' \
|
&& ansible --version | grep -E '^ansible [0-9][.0-9]+$' \
|
||||||
&& yamllint --version 2>&1 | grep -E '[.0-9]+' \
|
&& yamllint --version 2>&1 | grep -E '[0-9][.0-9]+' \
|
||||||
&& yq --version 2>&1 | grep -E '^yq\s+[.0-9]+$' \
|
&& yq --version 2>&1 | grep -E '^yq\s+[0-9][.0-9]+$' \
|
||||||
\
|
\
|
||||||
# -------------------- NPM --------------------
|
# -------------------- NPM --------------------
|
||||||
&& ng version 2>&1 | grep -iE 'Angular CLI:\s*[.0-9]+' \
|
&& ng version 2>&1 | grep -iE 'Angular CLI:\s*[0-9][.0-9]+' \
|
||||||
&& eslint -v | grep -E '[.0-9]+' \
|
&& eslint -v | grep -E '[0-9][.0-9]+' \
|
||||||
&& grunt --version | grep -E '[.0-9]+' \
|
&& grunt --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& gulp --version | grep -E '[.0-9]+' \
|
&& gulp --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& jsonlint --version | grep -E '[.0-9]+' \
|
&& jsonlint --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& pm2 --no-daemon --version | grep -E '[.0-9]+' \
|
&& pm2 --no-daemon --version | tail -1 | grep -E '[0-9][.0-9]+' \
|
||||||
&& mdlint --version | grep -E '[.0-9]+' \
|
&& mdlint --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& sass --version | grep -E '[.0-9]+' \
|
&& sass --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& stylelint --version | grep -E '[.0-9]+' \
|
&& stylelint --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& vue --version | grep -E '[.0-9]+' \
|
&& vue --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& webpack --version | grep -E '[.0-9]+' \
|
&& webpack --version | grep -E '[0-9][.0-9]+' \
|
||||||
\
|
\
|
||||||
# -------------------- GEM --------------------
|
# -------------------- GEM --------------------
|
||||||
&& mdl --version | grep -E '[.0-9]+' \
|
&& mdl --version | grep -E '[0-9][.0-9]+' \
|
||||||
\
|
\
|
||||||
# -------------------- Cleanup --------------------
|
# -------------------- Cleanup --------------------
|
||||||
&& rm -rf /home/devilbox/.cache/ \
|
&& rm -rf /home/devilbox/.cache/ \
|
||||||
|
|||||||
@@ -74,6 +74,7 @@ RUN set -eux \
|
|||||||
git-svn \
|
git-svn \
|
||||||
ghostscript \
|
ghostscript \
|
||||||
graphviz \
|
graphviz \
|
||||||
|
gsfonts \
|
||||||
hostname \
|
hostname \
|
||||||
htop \
|
htop \
|
||||||
imagemagick \
|
imagemagick \
|
||||||
@@ -89,6 +90,8 @@ RUN set -eux \
|
|||||||
mongodb-org-tools \
|
mongodb-org-tools \
|
||||||
moreutils \
|
moreutils \
|
||||||
mysql-client \
|
mysql-client \
|
||||||
|
mupdf \
|
||||||
|
mupdf-tools \
|
||||||
nano \
|
nano \
|
||||||
net-tools \
|
net-tools \
|
||||||
netcat \
|
netcat \
|
||||||
@@ -202,7 +205,8 @@ RUN set -eux \
|
|||||||
\
|
\
|
||||||
\
|
\
|
||||||
# -------------------- drupalconsole --------------------
|
# -------------------- drupalconsole --------------------
|
||||||
&& curl -sS -L --fail https://drupalconsole.com/installer -L -o /usr/local/bin/drupal \
|
&& DURL="https://github.com$(curl -sS 'https://github.com/hechoendrupal/drupal-console-launcher/releases' | grep -Eo 'href="/.+drupal.phar"' | head -1 | sed 's/^href="//g' | sed 's/"$//g')" \
|
||||||
|
&& curl -sS -L --fail "${DURL}" -L -o /usr/local/bin/drupal \
|
||||||
&& chmod +x /usr/local/bin/drupal \
|
&& chmod +x /usr/local/bin/drupal \
|
||||||
\
|
\
|
||||||
# -------------------- gitflow --------------------
|
# -------------------- gitflow --------------------
|
||||||
@@ -467,6 +471,9 @@ RUN set -eux \
|
|||||||
# -------------------- mixlib_config --------------------
|
# -------------------- mixlib_config --------------------
|
||||||
&& gem install mixlib-config -v 2.2.4 \
|
&& gem install mixlib-config -v 2.2.4 \
|
||||||
\
|
\
|
||||||
|
# -------------------- ffi --------------------
|
||||||
|
&& gem install ffi -v 1.12.2 \
|
||||||
|
\
|
||||||
# -------------------- rb_inotify --------------------
|
# -------------------- rb_inotify --------------------
|
||||||
&& gem install rb-inotify -v 0.9.10 \
|
&& gem install rb-inotify -v 0.9.10 \
|
||||||
\
|
\
|
||||||
@@ -488,13 +495,13 @@ RUN set -eux \
|
|||||||
###
|
###
|
||||||
RUN set -eux \
|
RUN set -eux \
|
||||||
# -------------------- ansible --------------------
|
# -------------------- ansible --------------------
|
||||||
&& pip install --no-cache-dir --force-reinstall ansible \
|
&& pip install --no-cache-dir --force-reinstall ansible || true \
|
||||||
\
|
\
|
||||||
# -------------------- yamllint --------------------
|
# -------------------- yamllint --------------------
|
||||||
&& pip install --no-cache-dir --force-reinstall yamllint \
|
&& pip install --no-cache-dir --force-reinstall yamllint || true \
|
||||||
\
|
\
|
||||||
# -------------------- yq --------------------
|
# -------------------- yq --------------------
|
||||||
&& pip install --no-cache-dir --force-reinstall yq \
|
&& pip install --no-cache-dir --force-reinstall yq || true \
|
||||||
\
|
\
|
||||||
\
|
\
|
||||||
&& rm -rf /root/.cache/pip \
|
&& rm -rf /root/.cache/pip \
|
||||||
@@ -547,54 +554,54 @@ RUN set -eux \
|
|||||||
|
|
||||||
RUN set -eux \
|
RUN set -eux \
|
||||||
# -------------------- Software --------------------
|
# -------------------- Software --------------------
|
||||||
&& composer --version 2>/dev/null | grep -E 'version\s*[.0-9]+' \
|
&& composer --version 2>/dev/null | grep -E 'version\s*[0-9][.0-9]+' \
|
||||||
&& su -c '. /opt/nvm/nvm.sh; nvm --version' devilbox | grep -E '^[.0-9]+' \
|
&& su -c '. /opt/nvm/nvm.sh; nvm --version' devilbox | grep -E '^[0-9][.0-9]+' \
|
||||||
&& regex-grep --version | grep -E '[.0-9]+' \
|
&& regex-grep --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& dep --version 2>/dev/null | grep -Ei 'deployer\s*(version\s*)?[.0-9]+' \
|
&& dep --version 2>/dev/null | grep -Ei 'deployer\s*(version\s*)?[0-9][.0-9]+' \
|
||||||
&& drush7 --version | grep -E '7[.0-9]+\s*$' \
|
&& drush7 --version | grep -E '7[.0-9]+\s*$' \
|
||||||
&& drush8 --version | grep -E '8[.0-9]+\s*$' \
|
&& drush8 --version | grep -E '8[.0-9]+\s*$' \
|
||||||
&& drupal --version | grep -E 'Drupal Console Launcher\s*[.0-9]' \
|
&& drupal --version | grep -E 'Drupal Console Launcher\s*[0-9][.0-9]' \
|
||||||
&& git-flow version | grep -E '[.0-9]+' \
|
&& git-flow version | grep -E '[0-9][.0-9]+' \
|
||||||
&& laravel --version | grep -E '(Installer|version)\s*[.0-9]+' \
|
&& laravel --version | grep -E '(Installer|version)\s*[0-9][.0-9]+' \
|
||||||
&& linkcheck --version | grep -E '^linkcheck\sv[.0-9]+' \
|
&& linkcheck --version | grep -E '^linkcheck\sv[0-9][.0-9]+' \
|
||||||
&& su - ${MY_USER} -c '/usr/local/src/linuxbrew/bin/brew --version' | grep -E 'Homebrew\s*[.0-9]+' \
|
&& su - ${MY_USER} -c '/usr/local/src/linuxbrew/bin/brew --version' | grep -E 'Homebrew\s*[0-9][.0-9]+' \
|
||||||
&& mysqldump-secure --version | grep -E 'Version:\s*[.0-9]+' \
|
&& mysqldump-secure --version | grep -E 'Version:\s*[0-9][.0-9]+' \
|
||||||
&& phalcon commands | grep -E '[.0-9]+' \
|
&& phalcon commands | grep -E '[0-9][.0-9]+' \
|
||||||
&& phpcs --version | grep -E 'version [.0-9]+' \
|
&& phpcs --version | grep -E 'version [0-9][.0-9]+' \
|
||||||
&& phpcbf --version | grep -E 'version [.0-9]+' \
|
&& phpcbf --version | grep -E 'version [0-9][.0-9]+' \
|
||||||
&& php-cs-fixer --version 2>&1 | grep -E 'Fixer\s+(version\s*)?[-_.0-9]+\s+' \
|
&& php-cs-fixer --version 2>&1 | grep -E 'Fixer\s+(version\s*)?[-_.0-9]+\s+' \
|
||||||
&& phpmd --version | grep -E '^PHPMD [.0-9]+' \
|
&& phpmd --version | grep -E '^PHPMD [0-9][.0-9]+' \
|
||||||
&& phpunit --version | grep -iE '^PHPUnit\s[.0-9]+' \
|
&& phpunit --version | grep -iE '^PHPUnit\s[0-9][.0-9]+' \
|
||||||
&& symfony -V | grep -Ei 'version\s*.*v[.0-9]+' \
|
&& symfony -V | grep -Ei 'version\s*.*v[0-9][.0-9]+' \
|
||||||
&& wkhtmltopdf --version | grep -E "^wkhtmltopdf [.0-9]+\s+\(.+patched.+\)" \
|
&& wkhtmltopdf --version | grep -E "^wkhtmltopdf [0-9][.0-9]+\s+\(.+patched.+\)" \
|
||||||
&& wp --allow-root --version | grep -E '[.0-9]+' \
|
&& wp --allow-root --version | grep -E '[0-9][.0-9]+' \
|
||||||
\
|
\
|
||||||
# -------------------- Composer --------------------
|
# -------------------- Composer --------------------
|
||||||
&& asgardcms --version 2>/dev/null | grep -Ei 'AsgardCMS\sInstaller\s[.0-9]+' \
|
&& asgardcms --version 2>/dev/null | grep -Ei 'AsgardCMS\sInstaller\s[0-9][.0-9]+' \
|
||||||
&& codecept --version 2>/dev/null | grep -E '^Codeception(\sversion)?\s[.0-9]+$' \
|
&& codecept --version 2>/dev/null | grep -E '^Codeception(\sversion)?\s[0-9][.0-9]+$' \
|
||||||
&& lumen --version 2>/dev/null | grep -E '^Lumen Installer\s[.0-9]+$' \
|
&& lumen --version 2>/dev/null | grep -E '^Lumen Installer\s[0-9][.0-9]+$' \
|
||||||
&& photon --version | grep -E 'Installer [.0-9]+' \
|
&& photon --version | grep -E 'Installer [0-9][.0-9]+' \
|
||||||
\
|
\
|
||||||
# -------------------- PIP --------------------
|
# -------------------- PIP --------------------
|
||||||
&& ansible --version | grep -E '^ansible [.0-9]+$' \
|
&& ansible --version | grep -E '^ansible [0-9][.0-9]+$' \
|
||||||
&& yamllint --version 2>&1 | grep -E '[.0-9]+' \
|
&& yamllint --version 2>&1 | grep -E '[0-9][.0-9]+' \
|
||||||
&& yq --version 2>&1 | grep -E '^yq\s+[.0-9]+$' \
|
&& yq --version 2>&1 | grep -E '^yq\s+[0-9][.0-9]+$' \
|
||||||
\
|
\
|
||||||
# -------------------- NPM --------------------
|
# -------------------- NPM --------------------
|
||||||
&& ng version 2>&1 | grep -iE 'Angular CLI:\s*[.0-9]+' \
|
&& ng version 2>&1 | grep -iE 'Angular CLI:\s*[0-9][.0-9]+' \
|
||||||
&& eslint -v | grep -E '[.0-9]+' \
|
&& eslint -v | grep -E '[0-9][.0-9]+' \
|
||||||
&& grunt --version | grep -E '[.0-9]+' \
|
&& grunt --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& gulp --version | grep -E '[.0-9]+' \
|
&& gulp --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& jsonlint --version | grep -E '[.0-9]+' \
|
&& jsonlint --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& pm2 --no-daemon --version | grep -E '[.0-9]+' \
|
&& pm2 --no-daemon --version | tail -1 | grep -E '[0-9][.0-9]+' \
|
||||||
&& mdlint --version | grep -E '[.0-9]+' \
|
&& mdlint --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& sass --version | grep -E '[.0-9]+' \
|
&& sass --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& stylelint --version | grep -E '[.0-9]+' \
|
&& stylelint --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& vue --version | grep -E '[.0-9]+' \
|
&& vue --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& webpack --version | grep -E '[.0-9]+' \
|
&& webpack --version | grep -E '[0-9][.0-9]+' \
|
||||||
\
|
\
|
||||||
# -------------------- GEM --------------------
|
# -------------------- GEM --------------------
|
||||||
&& mdl --version | grep -E '[.0-9]+' \
|
&& mdl --version | grep -E '[0-9][.0-9]+' \
|
||||||
\
|
\
|
||||||
# -------------------- Cleanup --------------------
|
# -------------------- Cleanup --------------------
|
||||||
&& rm -rf /home/devilbox/.cache/ \
|
&& rm -rf /home/devilbox/.cache/ \
|
||||||
|
|||||||
@@ -62,6 +62,7 @@ RUN set -eux \
|
|||||||
blackfire-agent \
|
blackfire-agent \
|
||||||
build-essential \
|
build-essential \
|
||||||
bzip2 \
|
bzip2 \
|
||||||
|
certbot \
|
||||||
coreutils \
|
coreutils \
|
||||||
dnsutils \
|
dnsutils \
|
||||||
dos2unix \
|
dos2unix \
|
||||||
@@ -73,6 +74,7 @@ RUN set -eux \
|
|||||||
git-svn \
|
git-svn \
|
||||||
ghostscript \
|
ghostscript \
|
||||||
graphviz \
|
graphviz \
|
||||||
|
gsfonts \
|
||||||
hostname \
|
hostname \
|
||||||
htop \
|
htop \
|
||||||
imagemagick \
|
imagemagick \
|
||||||
@@ -88,6 +90,8 @@ RUN set -eux \
|
|||||||
mongodb-org-tools \
|
mongodb-org-tools \
|
||||||
moreutils \
|
moreutils \
|
||||||
mysql-client \
|
mysql-client \
|
||||||
|
mupdf \
|
||||||
|
mupdf-tools \
|
||||||
nano \
|
nano \
|
||||||
net-tools \
|
net-tools \
|
||||||
netcat \
|
netcat \
|
||||||
@@ -215,7 +219,8 @@ RUN set -eux \
|
|||||||
\
|
\
|
||||||
\
|
\
|
||||||
# -------------------- drupalconsole --------------------
|
# -------------------- drupalconsole --------------------
|
||||||
&& curl -sS -L --fail https://drupalconsole.com/installer -L -o /usr/local/bin/drupal \
|
&& DURL="https://github.com$(curl -sS 'https://github.com/hechoendrupal/drupal-console-launcher/releases' | grep -Eo 'href="/.+drupal.phar"' | head -1 | sed 's/^href="//g' | sed 's/"$//g')" \
|
||||||
|
&& curl -sS -L --fail "${DURL}" -L -o /usr/local/bin/drupal \
|
||||||
&& chmod +x /usr/local/bin/drupal \
|
&& chmod +x /usr/local/bin/drupal \
|
||||||
\
|
\
|
||||||
# -------------------- gitflow --------------------
|
# -------------------- gitflow --------------------
|
||||||
@@ -501,13 +506,13 @@ RUN set -eux \
|
|||||||
###
|
###
|
||||||
RUN set -eux \
|
RUN set -eux \
|
||||||
# -------------------- ansible --------------------
|
# -------------------- ansible --------------------
|
||||||
&& pip install --no-cache-dir --force-reinstall ansible \
|
&& pip install --no-cache-dir --force-reinstall ansible || true \
|
||||||
\
|
\
|
||||||
# -------------------- yamllint --------------------
|
# -------------------- yamllint --------------------
|
||||||
&& pip install --no-cache-dir --force-reinstall yamllint \
|
&& pip install --no-cache-dir --force-reinstall yamllint || true \
|
||||||
\
|
\
|
||||||
# -------------------- yq --------------------
|
# -------------------- yq --------------------
|
||||||
&& pip install --no-cache-dir --force-reinstall yq \
|
&& pip install --no-cache-dir --force-reinstall yq || true \
|
||||||
\
|
\
|
||||||
\
|
\
|
||||||
&& rm -rf /root/.cache/pip \
|
&& rm -rf /root/.cache/pip \
|
||||||
@@ -560,55 +565,55 @@ RUN set -eux \
|
|||||||
|
|
||||||
RUN set -eux \
|
RUN set -eux \
|
||||||
# -------------------- Software --------------------
|
# -------------------- Software --------------------
|
||||||
&& composer --version 2>/dev/null | grep -E 'version\s*[.0-9]+' \
|
&& composer --version 2>/dev/null | grep -E 'version\s*[0-9][.0-9]+' \
|
||||||
&& su -c '. /opt/nvm/nvm.sh; nvm --version' devilbox | grep -E '^[.0-9]+' \
|
&& su -c '. /opt/nvm/nvm.sh; nvm --version' devilbox | grep -E '^[0-9][.0-9]+' \
|
||||||
&& regex-grep --version | grep -E '[.0-9]+' \
|
&& regex-grep --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& dep --version 2>/dev/null | grep -Ei 'deployer\s*(version\s*)?[.0-9]+' \
|
&& dep --version 2>/dev/null | grep -Ei 'deployer\s*(version\s*)?[0-9][.0-9]+' \
|
||||||
&& drush7 --version | grep -E '7[.0-9]+\s*$' \
|
&& drush7 --version | grep -E '7[.0-9]+\s*$' \
|
||||||
&& drush8 --version | grep -E '8[.0-9]+\s*$' \
|
&& drush8 --version | grep -E '8[.0-9]+\s*$' \
|
||||||
&& drush9 --version | grep -E '9[.0-9]+\s*$' \
|
&& drush9 --version | grep -E '9[.0-9]+\s*$' \
|
||||||
&& drupal --version | grep -E 'Drupal Console Launcher\s*[.0-9]' \
|
&& drupal --version | grep -E 'Drupal Console Launcher\s*[0-9][.0-9]' \
|
||||||
&& git-flow version | grep -E '[.0-9]+' \
|
&& git-flow version | grep -E '[0-9][.0-9]+' \
|
||||||
&& laravel --version | grep -E '(Installer|version)\s*[.0-9]+' \
|
&& laravel --version | grep -E '(Installer|version)\s*[0-9][.0-9]+' \
|
||||||
&& linkcheck --version | grep -E '^linkcheck\sv[.0-9]+' \
|
&& linkcheck --version | grep -E '^linkcheck\sv[0-9][.0-9]+' \
|
||||||
&& su - ${MY_USER} -c '/usr/local/src/linuxbrew/bin/brew --version' | grep -E 'Homebrew\s*[.0-9]+' \
|
&& su - ${MY_USER} -c '/usr/local/src/linuxbrew/bin/brew --version' | grep -E 'Homebrew\s*[0-9][.0-9]+' \
|
||||||
&& mysqldump-secure --version | grep -E 'Version:\s*[.0-9]+' \
|
&& mysqldump-secure --version | grep -E 'Version:\s*[0-9][.0-9]+' \
|
||||||
&& phalcon commands | grep -E '[.0-9]+' \
|
&& phalcon commands | grep -E '[0-9][.0-9]+' \
|
||||||
&& phpcs --version | grep -E 'version [.0-9]+' \
|
&& phpcs --version | grep -E 'version [0-9][.0-9]+' \
|
||||||
&& phpcbf --version | grep -E 'version [.0-9]+' \
|
&& phpcbf --version | grep -E 'version [0-9][.0-9]+' \
|
||||||
&& php-cs-fixer --version 2>&1 | grep -E 'Fixer\s+(version\s*)?[-_.0-9]+\s+' \
|
&& php-cs-fixer --version 2>&1 | grep -E 'Fixer\s+(version\s*)?[-_.0-9]+\s+' \
|
||||||
&& phpmd --version | grep -E '^PHPMD [.0-9]+' \
|
&& phpmd --version | grep -E '^PHPMD [0-9][.0-9]+' \
|
||||||
&& phpunit --version | grep -iE '^PHPUnit\s[.0-9]+' \
|
&& phpunit --version | grep -iE '^PHPUnit\s[0-9][.0-9]+' \
|
||||||
&& symfony -V | grep -Ei 'version\s*.*v[.0-9]+' \
|
&& symfony -V | grep -Ei 'version\s*.*v[0-9][.0-9]+' \
|
||||||
&& wkhtmltopdf --version | grep -E "^wkhtmltopdf [.0-9]+\s+\(.+patched.+\)" \
|
&& wkhtmltopdf --version | grep -E "^wkhtmltopdf [0-9][.0-9]+\s+\(.+patched.+\)" \
|
||||||
&& wp --allow-root --version | grep -E '[.0-9]+' \
|
&& wp --allow-root --version | grep -E '[0-9][.0-9]+' \
|
||||||
\
|
\
|
||||||
# -------------------- Composer --------------------
|
# -------------------- Composer --------------------
|
||||||
&& asgardcms --version 2>/dev/null | grep -Ei 'AsgardCMS\sInstaller\s[.0-9]+' \
|
&& asgardcms --version 2>/dev/null | grep -Ei 'AsgardCMS\sInstaller\s[0-9][.0-9]+' \
|
||||||
&& codecept --version 2>/dev/null | grep -E '^Codeception(\sversion)?\s[.0-9]+$' \
|
&& codecept --version 2>/dev/null | grep -E '^Codeception(\sversion)?\s[0-9][.0-9]+$' \
|
||||||
&& lumen --version 2>/dev/null | grep -E '^Lumen Installer\s[.0-9]+$' \
|
&& lumen --version 2>/dev/null | grep -E '^Lumen Installer\s[0-9][.0-9]+$' \
|
||||||
&& photon --version | grep -E 'Installer [.0-9]+' \
|
&& photon --version | grep -E 'Installer [0-9][.0-9]+' \
|
||||||
\
|
\
|
||||||
# -------------------- PIP --------------------
|
# -------------------- PIP --------------------
|
||||||
&& ansible --version | grep -E '^ansible [.0-9]+$' \
|
&& ansible --version | grep -E '^ansible [0-9][.0-9]+$' \
|
||||||
&& yamllint --version 2>&1 | grep -E '[.0-9]+' \
|
&& yamllint --version 2>&1 | grep -E '[0-9][.0-9]+' \
|
||||||
&& yq --version 2>&1 | grep -E '^yq\s+[.0-9]+$' \
|
&& yq --version 2>&1 | grep -E '^yq\s+[0-9][.0-9]+$' \
|
||||||
\
|
\
|
||||||
# -------------------- NPM --------------------
|
# -------------------- NPM --------------------
|
||||||
&& ng version 2>&1 | grep -iE 'Angular CLI:\s*[.0-9]+' \
|
&& ng version 2>&1 | grep -iE 'Angular CLI:\s*[0-9][.0-9]+' \
|
||||||
&& eslint -v | grep -E '[.0-9]+' \
|
&& eslint -v | grep -E '[0-9][.0-9]+' \
|
||||||
&& grunt --version | grep -E '[.0-9]+' \
|
&& grunt --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& gulp --version | grep -E '[.0-9]+' \
|
&& gulp --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& jsonlint --version | grep -E '[.0-9]+' \
|
&& jsonlint --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& pm2 --no-daemon --version | grep -E '[.0-9]+' \
|
&& pm2 --no-daemon --version | tail -1 | grep -E '[0-9][.0-9]+' \
|
||||||
&& mdlint --version | grep -E '[.0-9]+' \
|
&& mdlint --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& sass --version | grep -E '[.0-9]+' \
|
&& sass --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& stylelint --version | grep -E '[.0-9]+' \
|
&& stylelint --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& vue --version | grep -E '[.0-9]+' \
|
&& vue --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& webpack --version | grep -E '[.0-9]+' \
|
&& webpack --version | grep -E '[0-9][.0-9]+' \
|
||||||
\
|
\
|
||||||
# -------------------- GEM --------------------
|
# -------------------- GEM --------------------
|
||||||
&& mdl --version | grep -E '[.0-9]+' \
|
&& mdl --version | grep -E '[0-9][.0-9]+' \
|
||||||
\
|
\
|
||||||
# -------------------- Cleanup --------------------
|
# -------------------- Cleanup --------------------
|
||||||
&& rm -rf /home/devilbox/.cache/ \
|
&& rm -rf /home/devilbox/.cache/ \
|
||||||
|
|||||||
@@ -62,6 +62,7 @@ RUN set -eux \
|
|||||||
blackfire-agent \
|
blackfire-agent \
|
||||||
build-essential \
|
build-essential \
|
||||||
bzip2 \
|
bzip2 \
|
||||||
|
certbot \
|
||||||
coreutils \
|
coreutils \
|
||||||
dnsutils \
|
dnsutils \
|
||||||
dos2unix \
|
dos2unix \
|
||||||
@@ -73,6 +74,7 @@ RUN set -eux \
|
|||||||
git-svn \
|
git-svn \
|
||||||
ghostscript \
|
ghostscript \
|
||||||
graphviz \
|
graphviz \
|
||||||
|
gsfonts \
|
||||||
hostname \
|
hostname \
|
||||||
htop \
|
htop \
|
||||||
imagemagick \
|
imagemagick \
|
||||||
@@ -88,6 +90,8 @@ RUN set -eux \
|
|||||||
mongodb-org-tools \
|
mongodb-org-tools \
|
||||||
moreutils \
|
moreutils \
|
||||||
mysql-client \
|
mysql-client \
|
||||||
|
mupdf \
|
||||||
|
mupdf-tools \
|
||||||
nano \
|
nano \
|
||||||
net-tools \
|
net-tools \
|
||||||
netcat \
|
netcat \
|
||||||
@@ -215,7 +219,8 @@ RUN set -eux \
|
|||||||
\
|
\
|
||||||
\
|
\
|
||||||
# -------------------- drupalconsole --------------------
|
# -------------------- drupalconsole --------------------
|
||||||
&& curl -sS -L --fail https://drupalconsole.com/installer -L -o /usr/local/bin/drupal \
|
&& DURL="https://github.com$(curl -sS 'https://github.com/hechoendrupal/drupal-console-launcher/releases' | grep -Eo 'href="/.+drupal.phar"' | head -1 | sed 's/^href="//g' | sed 's/"$//g')" \
|
||||||
|
&& curl -sS -L --fail "${DURL}" -L -o /usr/local/bin/drupal \
|
||||||
&& chmod +x /usr/local/bin/drupal \
|
&& chmod +x /usr/local/bin/drupal \
|
||||||
\
|
\
|
||||||
# -------------------- gitflow --------------------
|
# -------------------- gitflow --------------------
|
||||||
@@ -501,13 +506,13 @@ RUN set -eux \
|
|||||||
###
|
###
|
||||||
RUN set -eux \
|
RUN set -eux \
|
||||||
# -------------------- ansible --------------------
|
# -------------------- ansible --------------------
|
||||||
&& pip install --no-cache-dir --force-reinstall ansible \
|
&& pip install --no-cache-dir --force-reinstall ansible || true \
|
||||||
\
|
\
|
||||||
# -------------------- yamllint --------------------
|
# -------------------- yamllint --------------------
|
||||||
&& pip install --no-cache-dir --force-reinstall yamllint \
|
&& pip install --no-cache-dir --force-reinstall yamllint || true \
|
||||||
\
|
\
|
||||||
# -------------------- yq --------------------
|
# -------------------- yq --------------------
|
||||||
&& pip install --no-cache-dir --force-reinstall yq \
|
&& pip install --no-cache-dir --force-reinstall yq || true \
|
||||||
\
|
\
|
||||||
\
|
\
|
||||||
&& rm -rf /root/.cache/pip \
|
&& rm -rf /root/.cache/pip \
|
||||||
@@ -560,55 +565,55 @@ RUN set -eux \
|
|||||||
|
|
||||||
RUN set -eux \
|
RUN set -eux \
|
||||||
# -------------------- Software --------------------
|
# -------------------- Software --------------------
|
||||||
&& composer --version 2>/dev/null | grep -E 'version\s*[.0-9]+' \
|
&& composer --version 2>/dev/null | grep -E 'version\s*[0-9][.0-9]+' \
|
||||||
&& su -c '. /opt/nvm/nvm.sh; nvm --version' devilbox | grep -E '^[.0-9]+' \
|
&& su -c '. /opt/nvm/nvm.sh; nvm --version' devilbox | grep -E '^[0-9][.0-9]+' \
|
||||||
&& regex-grep --version | grep -E '[.0-9]+' \
|
&& regex-grep --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& dep --version 2>/dev/null | grep -Ei 'deployer\s*(version\s*)?[.0-9]+' \
|
&& dep --version 2>/dev/null | grep -Ei 'deployer\s*(version\s*)?[0-9][.0-9]+' \
|
||||||
&& drush7 --version | grep -E '7[.0-9]+\s*$' \
|
&& drush7 --version | grep -E '7[.0-9]+\s*$' \
|
||||||
&& drush8 --version | grep -E '8[.0-9]+\s*$' \
|
&& drush8 --version | grep -E '8[.0-9]+\s*$' \
|
||||||
&& drush9 --version | grep -E '9[.0-9]+\s*$' \
|
&& drush9 --version | grep -E '9[.0-9]+\s*$' \
|
||||||
&& drupal --version | grep -E 'Drupal Console Launcher\s*[.0-9]' \
|
&& drupal --version | grep -E 'Drupal Console Launcher\s*[0-9][.0-9]' \
|
||||||
&& git-flow version | grep -E '[.0-9]+' \
|
&& git-flow version | grep -E '[0-9][.0-9]+' \
|
||||||
&& laravel --version | grep -E '(Installer|version)\s*[.0-9]+' \
|
&& laravel --version | grep -E '(Installer|version)\s*[0-9][.0-9]+' \
|
||||||
&& linkcheck --version | grep -E '^linkcheck\sv[.0-9]+' \
|
&& linkcheck --version | grep -E '^linkcheck\sv[0-9][.0-9]+' \
|
||||||
&& su - ${MY_USER} -c '/usr/local/src/linuxbrew/bin/brew --version' | grep -E 'Homebrew\s*[.0-9]+' \
|
&& su - ${MY_USER} -c '/usr/local/src/linuxbrew/bin/brew --version' | grep -E 'Homebrew\s*[0-9][.0-9]+' \
|
||||||
&& mysqldump-secure --version | grep -E 'Version:\s*[.0-9]+' \
|
&& mysqldump-secure --version | grep -E 'Version:\s*[0-9][.0-9]+' \
|
||||||
&& phalcon commands | grep -E '[.0-9]+' \
|
&& phalcon commands | grep -E '[0-9][.0-9]+' \
|
||||||
&& phpcs --version | grep -E 'version [.0-9]+' \
|
&& phpcs --version | grep -E 'version [0-9][.0-9]+' \
|
||||||
&& phpcbf --version | grep -E 'version [.0-9]+' \
|
&& phpcbf --version | grep -E 'version [0-9][.0-9]+' \
|
||||||
&& php-cs-fixer --version 2>&1 | grep -E 'Fixer\s+(version\s*)?[-_.0-9]+\s+' \
|
&& php-cs-fixer --version 2>&1 | grep -E 'Fixer\s+(version\s*)?[-_.0-9]+\s+' \
|
||||||
&& phpmd --version | grep -E '^PHPMD [.0-9]+' \
|
&& phpmd --version | grep -E '^PHPMD [0-9][.0-9]+' \
|
||||||
&& phpunit --version | grep -iE '^PHPUnit\s[.0-9]+' \
|
&& phpunit --version | grep -iE '^PHPUnit\s[0-9][.0-9]+' \
|
||||||
&& symfony -V | grep -Ei 'version\s*.*v[.0-9]+' \
|
&& symfony -V | grep -Ei 'version\s*.*v[0-9][.0-9]+' \
|
||||||
&& wkhtmltopdf --version | grep -E "^wkhtmltopdf [.0-9]+\s+\(.+patched.+\)" \
|
&& wkhtmltopdf --version | grep -E "^wkhtmltopdf [0-9][.0-9]+\s+\(.+patched.+\)" \
|
||||||
&& wp --allow-root --version | grep -E '[.0-9]+' \
|
&& wp --allow-root --version | grep -E '[0-9][.0-9]+' \
|
||||||
\
|
\
|
||||||
# -------------------- Composer --------------------
|
# -------------------- Composer --------------------
|
||||||
&& asgardcms --version 2>/dev/null | grep -Ei 'AsgardCMS\sInstaller\s[.0-9]+' \
|
&& asgardcms --version 2>/dev/null | grep -Ei 'AsgardCMS\sInstaller\s[0-9][.0-9]+' \
|
||||||
&& codecept --version 2>/dev/null | grep -E '^Codeception(\sversion)?\s[.0-9]+$' \
|
&& codecept --version 2>/dev/null | grep -E '^Codeception(\sversion)?\s[0-9][.0-9]+$' \
|
||||||
&& lumen --version 2>/dev/null | grep -E '^Lumen Installer\s[.0-9]+$' \
|
&& lumen --version 2>/dev/null | grep -E '^Lumen Installer\s[0-9][.0-9]+$' \
|
||||||
&& photon --version | grep -E 'Installer [.0-9]+' \
|
&& photon --version | grep -E 'Installer [0-9][.0-9]+' \
|
||||||
\
|
\
|
||||||
# -------------------- PIP --------------------
|
# -------------------- PIP --------------------
|
||||||
&& ansible --version | grep -E '^ansible [.0-9]+$' \
|
&& ansible --version | grep -E '^ansible [0-9][.0-9]+$' \
|
||||||
&& yamllint --version 2>&1 | grep -E '[.0-9]+' \
|
&& yamllint --version 2>&1 | grep -E '[0-9][.0-9]+' \
|
||||||
&& yq --version 2>&1 | grep -E '^yq\s+[.0-9]+$' \
|
&& yq --version 2>&1 | grep -E '^yq\s+[0-9][.0-9]+$' \
|
||||||
\
|
\
|
||||||
# -------------------- NPM --------------------
|
# -------------------- NPM --------------------
|
||||||
&& ng version 2>&1 | grep -iE 'Angular CLI:\s*[.0-9]+' \
|
&& ng version 2>&1 | grep -iE 'Angular CLI:\s*[0-9][.0-9]+' \
|
||||||
&& eslint -v | grep -E '[.0-9]+' \
|
&& eslint -v | grep -E '[0-9][.0-9]+' \
|
||||||
&& grunt --version | grep -E '[.0-9]+' \
|
&& grunt --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& gulp --version | grep -E '[.0-9]+' \
|
&& gulp --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& jsonlint --version | grep -E '[.0-9]+' \
|
&& jsonlint --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& pm2 --no-daemon --version | grep -E '[.0-9]+' \
|
&& pm2 --no-daemon --version | tail -1 | grep -E '[0-9][.0-9]+' \
|
||||||
&& mdlint --version | grep -E '[.0-9]+' \
|
&& mdlint --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& sass --version | grep -E '[.0-9]+' \
|
&& sass --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& stylelint --version | grep -E '[.0-9]+' \
|
&& stylelint --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& vue --version | grep -E '[.0-9]+' \
|
&& vue --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& webpack --version | grep -E '[.0-9]+' \
|
&& webpack --version | grep -E '[0-9][.0-9]+' \
|
||||||
\
|
\
|
||||||
# -------------------- GEM --------------------
|
# -------------------- GEM --------------------
|
||||||
&& mdl --version | grep -E '[.0-9]+' \
|
&& mdl --version | grep -E '[0-9][.0-9]+' \
|
||||||
\
|
\
|
||||||
# -------------------- Cleanup --------------------
|
# -------------------- Cleanup --------------------
|
||||||
&& rm -rf /home/devilbox/.cache/ \
|
&& rm -rf /home/devilbox/.cache/ \
|
||||||
|
|||||||
@@ -62,6 +62,7 @@ RUN set -eux \
|
|||||||
blackfire-agent \
|
blackfire-agent \
|
||||||
build-essential \
|
build-essential \
|
||||||
bzip2 \
|
bzip2 \
|
||||||
|
certbot \
|
||||||
coreutils \
|
coreutils \
|
||||||
dnsutils \
|
dnsutils \
|
||||||
dos2unix \
|
dos2unix \
|
||||||
@@ -73,6 +74,7 @@ RUN set -eux \
|
|||||||
git-svn \
|
git-svn \
|
||||||
ghostscript \
|
ghostscript \
|
||||||
graphviz \
|
graphviz \
|
||||||
|
gsfonts \
|
||||||
hostname \
|
hostname \
|
||||||
htop \
|
htop \
|
||||||
imagemagick \
|
imagemagick \
|
||||||
@@ -88,6 +90,8 @@ RUN set -eux \
|
|||||||
mongodb-org-tools \
|
mongodb-org-tools \
|
||||||
moreutils \
|
moreutils \
|
||||||
mariadb-client \
|
mariadb-client \
|
||||||
|
mupdf \
|
||||||
|
mupdf-tools \
|
||||||
nano \
|
nano \
|
||||||
net-tools \
|
net-tools \
|
||||||
netcat \
|
netcat \
|
||||||
@@ -215,7 +219,8 @@ RUN set -eux \
|
|||||||
\
|
\
|
||||||
\
|
\
|
||||||
# -------------------- drupalconsole --------------------
|
# -------------------- drupalconsole --------------------
|
||||||
&& curl -sS -L --fail https://drupalconsole.com/installer -L -o /usr/local/bin/drupal \
|
&& DURL="https://github.com$(curl -sS 'https://github.com/hechoendrupal/drupal-console-launcher/releases' | grep -Eo 'href="/.+drupal.phar"' | head -1 | sed 's/^href="//g' | sed 's/"$//g')" \
|
||||||
|
&& curl -sS -L --fail "${DURL}" -L -o /usr/local/bin/drupal \
|
||||||
&& chmod +x /usr/local/bin/drupal \
|
&& chmod +x /usr/local/bin/drupal \
|
||||||
\
|
\
|
||||||
# -------------------- gitflow --------------------
|
# -------------------- gitflow --------------------
|
||||||
@@ -501,13 +506,13 @@ RUN set -eux \
|
|||||||
###
|
###
|
||||||
RUN set -eux \
|
RUN set -eux \
|
||||||
# -------------------- ansible --------------------
|
# -------------------- ansible --------------------
|
||||||
&& pip install --no-cache-dir --force-reinstall ansible \
|
&& pip install --no-cache-dir --force-reinstall ansible || true \
|
||||||
\
|
\
|
||||||
# -------------------- yamllint --------------------
|
# -------------------- yamllint --------------------
|
||||||
&& pip install --no-cache-dir --force-reinstall yamllint \
|
&& pip install --no-cache-dir --force-reinstall yamllint || true \
|
||||||
\
|
\
|
||||||
# -------------------- yq --------------------
|
# -------------------- yq --------------------
|
||||||
&& pip install --no-cache-dir --force-reinstall yq \
|
&& pip install --no-cache-dir --force-reinstall yq || true \
|
||||||
\
|
\
|
||||||
\
|
\
|
||||||
&& rm -rf /root/.cache/pip \
|
&& rm -rf /root/.cache/pip \
|
||||||
@@ -560,55 +565,55 @@ RUN set -eux \
|
|||||||
|
|
||||||
RUN set -eux \
|
RUN set -eux \
|
||||||
# -------------------- Software --------------------
|
# -------------------- Software --------------------
|
||||||
&& composer --version 2>/dev/null | grep -E 'version\s*[.0-9]+' \
|
&& composer --version 2>/dev/null | grep -E 'version\s*[0-9][.0-9]+' \
|
||||||
&& su -c '. /opt/nvm/nvm.sh; nvm --version' devilbox | grep -E '^[.0-9]+' \
|
&& su -c '. /opt/nvm/nvm.sh; nvm --version' devilbox | grep -E '^[0-9][.0-9]+' \
|
||||||
&& regex-grep --version | grep -E '[.0-9]+' \
|
&& regex-grep --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& dep --version 2>/dev/null | grep -Ei 'deployer\s*(version\s*)?[.0-9]+' \
|
&& dep --version 2>/dev/null | grep -Ei 'deployer\s*(version\s*)?[0-9][.0-9]+' \
|
||||||
&& drush7 --version | grep -E '7[.0-9]+\s*$' \
|
&& drush7 --version | grep -E '7[.0-9]+\s*$' \
|
||||||
&& drush8 --version | grep -E '8[.0-9]+\s*$' \
|
&& drush8 --version | grep -E '8[.0-9]+\s*$' \
|
||||||
&& drush9 --version | grep -E '9[.0-9]+\s*$' \
|
&& drush9 --version | grep -E '9[.0-9]+\s*$' \
|
||||||
&& drupal --version | grep -E 'Drupal Console Launcher\s*[.0-9]' \
|
&& drupal --version | grep -E 'Drupal Console Launcher\s*[0-9][.0-9]' \
|
||||||
&& git-flow version | grep -E '[.0-9]+' \
|
&& git-flow version | grep -E '[0-9][.0-9]+' \
|
||||||
&& laravel --version | grep -E '(Installer|version)\s*[.0-9]+' \
|
&& laravel --version | grep -E '(Installer|version)\s*[0-9][.0-9]+' \
|
||||||
&& linkcheck --version | grep -E '^linkcheck\sv[.0-9]+' \
|
&& linkcheck --version | grep -E '^linkcheck\sv[0-9][.0-9]+' \
|
||||||
&& su - ${MY_USER} -c '/usr/local/src/linuxbrew/bin/brew --version' | grep -E 'Homebrew\s*[.0-9]+' \
|
&& su - ${MY_USER} -c '/usr/local/src/linuxbrew/bin/brew --version' | grep -E 'Homebrew\s*[0-9][.0-9]+' \
|
||||||
&& mysqldump-secure --version | grep -E 'Version:\s*[.0-9]+' \
|
&& mysqldump-secure --version | grep -E 'Version:\s*[0-9][.0-9]+' \
|
||||||
&& phalcon commands | grep -E '[.0-9]+' \
|
&& phalcon commands | grep -E '[0-9][.0-9]+' \
|
||||||
&& phpcs --version | grep -E 'version [.0-9]+' \
|
&& phpcs --version | grep -E 'version [0-9][.0-9]+' \
|
||||||
&& phpcbf --version | grep -E 'version [.0-9]+' \
|
&& phpcbf --version | grep -E 'version [0-9][.0-9]+' \
|
||||||
&& php-cs-fixer --version 2>&1 | grep -E 'Fixer\s+(version\s*)?[-_.0-9]+\s+' \
|
&& php-cs-fixer --version 2>&1 | grep -E 'Fixer\s+(version\s*)?[-_.0-9]+\s+' \
|
||||||
&& phpmd --version | grep -E '^PHPMD [.0-9]+' \
|
&& phpmd --version | grep -E '^PHPMD [0-9][.0-9]+' \
|
||||||
&& phpunit --version | grep -iE '^PHPUnit\s[.0-9]+' \
|
&& phpunit --version | grep -iE '^PHPUnit\s[0-9][.0-9]+' \
|
||||||
&& symfony -V | grep -Ei 'version\s*.*v[.0-9]+' \
|
&& symfony -V | grep -Ei 'version\s*.*v[0-9][.0-9]+' \
|
||||||
&& wkhtmltopdf --version | grep -E "^wkhtmltopdf [.0-9]+\s+\(.+patched.+\)" \
|
&& wkhtmltopdf --version | grep -E "^wkhtmltopdf [0-9][.0-9]+\s+\(.+patched.+\)" \
|
||||||
&& wp --allow-root --version | grep -E '[.0-9]+' \
|
&& wp --allow-root --version | grep -E '[0-9][.0-9]+' \
|
||||||
\
|
\
|
||||||
# -------------------- Composer --------------------
|
# -------------------- Composer --------------------
|
||||||
&& asgardcms --version 2>/dev/null | grep -Ei 'AsgardCMS\sInstaller\s[.0-9]+' \
|
&& asgardcms --version 2>/dev/null | grep -Ei 'AsgardCMS\sInstaller\s[0-9][.0-9]+' \
|
||||||
&& codecept --version 2>/dev/null | grep -E '^Codeception(\sversion)?\s[.0-9]+$' \
|
&& codecept --version 2>/dev/null | grep -E '^Codeception(\sversion)?\s[0-9][.0-9]+$' \
|
||||||
&& lumen --version 2>/dev/null | grep -E '^Lumen Installer\s[.0-9]+$' \
|
&& lumen --version 2>/dev/null | grep -E '^Lumen Installer\s[0-9][.0-9]+$' \
|
||||||
&& photon --version | grep -E 'Installer [.0-9]+' \
|
&& photon --version | grep -E 'Installer [0-9][.0-9]+' \
|
||||||
\
|
\
|
||||||
# -------------------- PIP --------------------
|
# -------------------- PIP --------------------
|
||||||
&& ansible --version | grep -E '^ansible [.0-9]+$' \
|
&& ansible --version | grep -E '^ansible [0-9][.0-9]+$' \
|
||||||
&& yamllint --version 2>&1 | grep -E '[.0-9]+' \
|
&& yamllint --version 2>&1 | grep -E '[0-9][.0-9]+' \
|
||||||
&& yq --version 2>&1 | grep -E '^yq\s+[.0-9]+$' \
|
&& yq --version 2>&1 | grep -E '^yq\s+[0-9][.0-9]+$' \
|
||||||
\
|
\
|
||||||
# -------------------- NPM --------------------
|
# -------------------- NPM --------------------
|
||||||
&& ng version 2>&1 | grep -iE 'Angular CLI:\s*[.0-9]+' \
|
&& ng version 2>&1 | grep -iE 'Angular CLI:\s*[0-9][.0-9]+' \
|
||||||
&& eslint -v | grep -E '[.0-9]+' \
|
&& eslint -v | grep -E '[0-9][.0-9]+' \
|
||||||
&& grunt --version | grep -E '[.0-9]+' \
|
&& grunt --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& gulp --version | grep -E '[.0-9]+' \
|
&& gulp --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& jsonlint --version | grep -E '[.0-9]+' \
|
&& jsonlint --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& pm2 --no-daemon --version | grep -E '[.0-9]+' \
|
&& pm2 --no-daemon --version | tail -1 | grep -E '[0-9][.0-9]+' \
|
||||||
&& mdlint --version | grep -E '[.0-9]+' \
|
&& mdlint --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& sass --version | grep -E '[.0-9]+' \
|
&& sass --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& stylelint --version | grep -E '[.0-9]+' \
|
&& stylelint --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& vue --version | grep -E '[.0-9]+' \
|
&& vue --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& webpack --version | grep -E '[.0-9]+' \
|
&& webpack --version | grep -E '[0-9][.0-9]+' \
|
||||||
\
|
\
|
||||||
# -------------------- GEM --------------------
|
# -------------------- GEM --------------------
|
||||||
&& mdl --version | grep -E '[.0-9]+' \
|
&& mdl --version | grep -E '[0-9][.0-9]+' \
|
||||||
\
|
\
|
||||||
# -------------------- Cleanup --------------------
|
# -------------------- Cleanup --------------------
|
||||||
&& rm -rf /home/devilbox/.cache/ \
|
&& rm -rf /home/devilbox/.cache/ \
|
||||||
|
|||||||
@@ -62,6 +62,7 @@ RUN set -eux \
|
|||||||
blackfire-agent \
|
blackfire-agent \
|
||||||
build-essential \
|
build-essential \
|
||||||
bzip2 \
|
bzip2 \
|
||||||
|
certbot \
|
||||||
coreutils \
|
coreutils \
|
||||||
dnsutils \
|
dnsutils \
|
||||||
dos2unix \
|
dos2unix \
|
||||||
@@ -73,6 +74,7 @@ RUN set -eux \
|
|||||||
git-svn \
|
git-svn \
|
||||||
ghostscript \
|
ghostscript \
|
||||||
graphviz \
|
graphviz \
|
||||||
|
gsfonts \
|
||||||
hostname \
|
hostname \
|
||||||
htop \
|
htop \
|
||||||
imagemagick \
|
imagemagick \
|
||||||
@@ -88,6 +90,8 @@ RUN set -eux \
|
|||||||
mongodb-org-tools \
|
mongodb-org-tools \
|
||||||
moreutils \
|
moreutils \
|
||||||
mariadb-client \
|
mariadb-client \
|
||||||
|
mupdf \
|
||||||
|
mupdf-tools \
|
||||||
nano \
|
nano \
|
||||||
net-tools \
|
net-tools \
|
||||||
netcat \
|
netcat \
|
||||||
@@ -215,7 +219,8 @@ RUN set -eux \
|
|||||||
\
|
\
|
||||||
\
|
\
|
||||||
# -------------------- drupalconsole --------------------
|
# -------------------- drupalconsole --------------------
|
||||||
&& curl -sS -L --fail https://drupalconsole.com/installer -L -o /usr/local/bin/drupal \
|
&& DURL="https://github.com$(curl -sS 'https://github.com/hechoendrupal/drupal-console-launcher/releases' | grep -Eo 'href="/.+drupal.phar"' | head -1 | sed 's/^href="//g' | sed 's/"$//g')" \
|
||||||
|
&& curl -sS -L --fail "${DURL}" -L -o /usr/local/bin/drupal \
|
||||||
&& chmod +x /usr/local/bin/drupal \
|
&& chmod +x /usr/local/bin/drupal \
|
||||||
\
|
\
|
||||||
# -------------------- gitflow --------------------
|
# -------------------- gitflow --------------------
|
||||||
@@ -228,7 +233,7 @@ RUN set -eux \
|
|||||||
# -------------------- laravel --------------------
|
# -------------------- laravel --------------------
|
||||||
&& git clone https://github.com/laravel/installer /usr/local/src/laravel-installer \
|
&& git clone https://github.com/laravel/installer /usr/local/src/laravel-installer \
|
||||||
&& cd /usr/local/src/laravel-installer \
|
&& cd /usr/local/src/laravel-installer \
|
||||||
&& git checkout $(git describe --abbrev=0 --tags) \
|
&& git checkout v4.0.0 \
|
||||||
\
|
\
|
||||||
&& chown -R ${MY_USER}:${MY_GROUP} /usr/local/src/laravel-installer \
|
&& chown -R ${MY_USER}:${MY_GROUP} /usr/local/src/laravel-installer \
|
||||||
&& su - ${MY_USER} -c 'PATH=/usr/local/bin:$PATH; cd /usr/local/src/laravel-installer && COMPOSER_MEMORY_LIMIT=-1 /usr/local/bin/composer install --no-interaction --no-progress --no-dev' \
|
&& su - ${MY_USER} -c 'PATH=/usr/local/bin:$PATH; cd /usr/local/src/laravel-installer && COMPOSER_MEMORY_LIMIT=-1 /usr/local/bin/composer install --no-interaction --no-progress --no-dev' \
|
||||||
@@ -502,13 +507,13 @@ RUN set -eux \
|
|||||||
###
|
###
|
||||||
RUN set -eux \
|
RUN set -eux \
|
||||||
# -------------------- ansible --------------------
|
# -------------------- ansible --------------------
|
||||||
&& pip install --no-cache-dir --force-reinstall ansible \
|
&& pip install --no-cache-dir --force-reinstall ansible || true \
|
||||||
\
|
\
|
||||||
# -------------------- yamllint --------------------
|
# -------------------- yamllint --------------------
|
||||||
&& pip install --no-cache-dir --force-reinstall yamllint \
|
&& pip install --no-cache-dir --force-reinstall yamllint || true \
|
||||||
\
|
\
|
||||||
# -------------------- yq --------------------
|
# -------------------- yq --------------------
|
||||||
&& pip install --no-cache-dir --force-reinstall yq \
|
&& pip install --no-cache-dir --force-reinstall yq || true \
|
||||||
\
|
\
|
||||||
\
|
\
|
||||||
&& rm -rf /root/.cache/pip \
|
&& rm -rf /root/.cache/pip \
|
||||||
@@ -561,55 +566,55 @@ RUN set -eux \
|
|||||||
|
|
||||||
RUN set -eux \
|
RUN set -eux \
|
||||||
# -------------------- Software --------------------
|
# -------------------- Software --------------------
|
||||||
&& composer --version 2>/dev/null | grep -E 'version\s*[.0-9]+' \
|
&& composer --version 2>/dev/null | grep -E 'version\s*[0-9][.0-9]+' \
|
||||||
&& su -c '. /opt/nvm/nvm.sh; nvm --version' devilbox | grep -E '^[.0-9]+' \
|
&& su -c '. /opt/nvm/nvm.sh; nvm --version' devilbox | grep -E '^[0-9][.0-9]+' \
|
||||||
&& regex-grep --version | grep -E '[.0-9]+' \
|
&& regex-grep --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& dep --version 2>/dev/null | grep -Ei 'deployer\s*(version\s*)?[.0-9]+' \
|
&& dep --version 2>/dev/null | grep -Ei 'deployer\s*(version\s*)?[0-9][.0-9]+' \
|
||||||
&& drush7 --version | grep -E '7[.0-9]+\s*$' \
|
&& drush7 --version | grep -E '7[.0-9]+\s*$' \
|
||||||
&& drush8 --version | grep -E '8[.0-9]+\s*$' \
|
&& drush8 --version | grep -E '8[.0-9]+\s*$' \
|
||||||
&& drush9 --version | grep -E '9[.0-9]+\s*$' \
|
&& drush9 --version | grep -E '9[.0-9]+\s*$' \
|
||||||
&& drupal --version | grep -E 'Drupal Console Launcher\s*[.0-9]' \
|
&& drupal --version | grep -E 'Drupal Console Launcher\s*[0-9][.0-9]' \
|
||||||
&& git-flow version | grep -E '[.0-9]+' \
|
&& git-flow version | grep -E '[0-9][.0-9]+' \
|
||||||
&& laravel --version | grep -E '(Installer|version)\s*[.0-9]+' \
|
&& laravel --version | grep -E '(Installer|version)\s*[0-9][.0-9]+' \
|
||||||
&& linkcheck --version | grep -E '^linkcheck\sv[.0-9]+' \
|
&& linkcheck --version | grep -E '^linkcheck\sv[0-9][.0-9]+' \
|
||||||
&& su - ${MY_USER} -c '/usr/local/src/linuxbrew/bin/brew --version' | grep -E 'Homebrew\s*[.0-9]+' \
|
&& su - ${MY_USER} -c '/usr/local/src/linuxbrew/bin/brew --version' | grep -E 'Homebrew\s*[0-9][.0-9]+' \
|
||||||
&& mysqldump-secure --version | grep -E 'Version:\s*[.0-9]+' \
|
&& mysqldump-secure --version | grep -E 'Version:\s*[0-9][.0-9]+' \
|
||||||
&& phalcon commands | grep -E '[.0-9]+' \
|
&& phalcon commands | grep -E '[0-9][.0-9]+' \
|
||||||
&& phpcs --version | grep -E 'version [.0-9]+' \
|
&& phpcs --version | grep -E 'version [0-9][.0-9]+' \
|
||||||
&& phpcbf --version | grep -E 'version [.0-9]+' \
|
&& phpcbf --version | grep -E 'version [0-9][.0-9]+' \
|
||||||
&& php-cs-fixer --version 2>&1 | grep -E 'Fixer\s+(version\s*)?[-_.0-9]+\s+' \
|
&& php-cs-fixer --version 2>&1 | grep -E 'Fixer\s+(version\s*)?[-_.0-9]+\s+' \
|
||||||
&& phpmd --version | grep -E '^PHPMD [.0-9]+' \
|
&& phpmd --version | grep -E '^PHPMD [0-9][.0-9]+' \
|
||||||
&& phpunit --version | grep -iE '^PHPUnit\s[.0-9]+' \
|
&& phpunit --version | grep -iE '^PHPUnit\s[0-9][.0-9]+' \
|
||||||
&& symfony -V | grep -Ei 'version\s*.*v[.0-9]+' \
|
&& symfony -V | grep -Ei 'version\s*.*v[0-9][.0-9]+' \
|
||||||
&& wkhtmltopdf --version | grep -E "^wkhtmltopdf [.0-9]+\s+\(.+patched.+\)" \
|
&& wkhtmltopdf --version | grep -E "^wkhtmltopdf [0-9][.0-9]+\s+\(.+patched.+\)" \
|
||||||
&& wp --allow-root --version | grep -E '[.0-9]+' \
|
&& wp --allow-root --version | grep -E '[0-9][.0-9]+' \
|
||||||
\
|
\
|
||||||
# -------------------- Composer --------------------
|
# -------------------- Composer --------------------
|
||||||
&& asgardcms --version 2>/dev/null | grep -Ei 'AsgardCMS\sInstaller\s[.0-9]+' \
|
&& asgardcms --version 2>/dev/null | grep -Ei 'AsgardCMS\sInstaller\s[0-9][.0-9]+' \
|
||||||
&& codecept --version 2>/dev/null | grep -E '^Codeception(\sversion)?\s[.0-9]+$' \
|
&& codecept --version 2>/dev/null | grep -E '^Codeception(\sversion)?\s[0-9][.0-9]+$' \
|
||||||
&& lumen --version 2>/dev/null | grep -E '^Lumen Installer\s[.0-9]+$' \
|
&& lumen --version 2>/dev/null | grep -E '^Lumen Installer\s[0-9][.0-9]+$' \
|
||||||
&& photon --version | grep -E 'Installer [.0-9]+' \
|
&& photon --version | grep -E 'Installer [0-9][.0-9]+' \
|
||||||
\
|
\
|
||||||
# -------------------- PIP --------------------
|
# -------------------- PIP --------------------
|
||||||
&& ansible --version | grep -E '^ansible [.0-9]+$' \
|
&& ansible --version | grep -E '^ansible [0-9][.0-9]+$' \
|
||||||
&& yamllint --version 2>&1 | grep -E '[.0-9]+' \
|
&& yamllint --version 2>&1 | grep -E '[0-9][.0-9]+' \
|
||||||
&& yq --version 2>&1 | grep -E '^yq\s+[.0-9]+$' \
|
&& yq --version 2>&1 | grep -E '^yq\s+[0-9][.0-9]+$' \
|
||||||
\
|
\
|
||||||
# -------------------- NPM --------------------
|
# -------------------- NPM --------------------
|
||||||
&& ng version 2>&1 | grep -iE 'Angular CLI:\s*[.0-9]+' \
|
&& ng version 2>&1 | grep -iE 'Angular CLI:\s*[0-9][.0-9]+' \
|
||||||
&& eslint -v | grep -E '[.0-9]+' \
|
&& eslint -v | grep -E '[0-9][.0-9]+' \
|
||||||
&& grunt --version | grep -E '[.0-9]+' \
|
&& grunt --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& gulp --version | grep -E '[.0-9]+' \
|
&& gulp --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& jsonlint --version | grep -E '[.0-9]+' \
|
&& jsonlint --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& pm2 --no-daemon --version | grep -E '[.0-9]+' \
|
&& pm2 --no-daemon --version | tail -1 | grep -E '[0-9][.0-9]+' \
|
||||||
&& mdlint --version | grep -E '[.0-9]+' \
|
&& mdlint --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& sass --version | grep -E '[.0-9]+' \
|
&& sass --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& stylelint --version | grep -E '[.0-9]+' \
|
&& stylelint --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& vue --version | grep -E '[.0-9]+' \
|
&& vue --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& webpack --version | grep -E '[.0-9]+' \
|
&& webpack --version | grep -E '[0-9][.0-9]+' \
|
||||||
\
|
\
|
||||||
# -------------------- GEM --------------------
|
# -------------------- GEM --------------------
|
||||||
&& mdl --version | grep -E '[.0-9]+' \
|
&& mdl --version | grep -E '[0-9][.0-9]+' \
|
||||||
\
|
\
|
||||||
# -------------------- Cleanup --------------------
|
# -------------------- Cleanup --------------------
|
||||||
&& rm -rf /home/devilbox/.cache/ \
|
&& rm -rf /home/devilbox/.cache/ \
|
||||||
|
|||||||
@@ -62,6 +62,7 @@ RUN set -eux \
|
|||||||
blackfire-agent \
|
blackfire-agent \
|
||||||
build-essential \
|
build-essential \
|
||||||
bzip2 \
|
bzip2 \
|
||||||
|
certbot \
|
||||||
coreutils \
|
coreutils \
|
||||||
dnsutils \
|
dnsutils \
|
||||||
dos2unix \
|
dos2unix \
|
||||||
@@ -73,6 +74,7 @@ RUN set -eux \
|
|||||||
git-svn \
|
git-svn \
|
||||||
ghostscript \
|
ghostscript \
|
||||||
graphviz \
|
graphviz \
|
||||||
|
gsfonts \
|
||||||
hostname \
|
hostname \
|
||||||
htop \
|
htop \
|
||||||
imagemagick \
|
imagemagick \
|
||||||
@@ -88,6 +90,8 @@ RUN set -eux \
|
|||||||
mongodb-org-tools \
|
mongodb-org-tools \
|
||||||
moreutils \
|
moreutils \
|
||||||
mariadb-client \
|
mariadb-client \
|
||||||
|
mupdf \
|
||||||
|
mupdf-tools \
|
||||||
nano \
|
nano \
|
||||||
net-tools \
|
net-tools \
|
||||||
netcat \
|
netcat \
|
||||||
@@ -215,7 +219,8 @@ RUN set -eux \
|
|||||||
\
|
\
|
||||||
\
|
\
|
||||||
# -------------------- drupalconsole --------------------
|
# -------------------- drupalconsole --------------------
|
||||||
&& curl -sS -L --fail https://drupalconsole.com/installer -L -o /usr/local/bin/drupal \
|
&& DURL="https://github.com$(curl -sS 'https://github.com/hechoendrupal/drupal-console-launcher/releases' | grep -Eo 'href="/.+drupal.phar"' | head -1 | sed 's/^href="//g' | sed 's/"$//g')" \
|
||||||
|
&& curl -sS -L --fail "${DURL}" -L -o /usr/local/bin/drupal \
|
||||||
&& chmod +x /usr/local/bin/drupal \
|
&& chmod +x /usr/local/bin/drupal \
|
||||||
\
|
\
|
||||||
# -------------------- gitflow --------------------
|
# -------------------- gitflow --------------------
|
||||||
@@ -502,13 +507,13 @@ RUN set -eux \
|
|||||||
###
|
###
|
||||||
RUN set -eux \
|
RUN set -eux \
|
||||||
# -------------------- ansible --------------------
|
# -------------------- ansible --------------------
|
||||||
&& pip install --no-cache-dir --force-reinstall ansible \
|
&& pip install --no-cache-dir --force-reinstall ansible || true \
|
||||||
\
|
\
|
||||||
# -------------------- yamllint --------------------
|
# -------------------- yamllint --------------------
|
||||||
&& pip install --no-cache-dir --force-reinstall yamllint \
|
&& pip install --no-cache-dir --force-reinstall yamllint || true \
|
||||||
\
|
\
|
||||||
# -------------------- yq --------------------
|
# -------------------- yq --------------------
|
||||||
&& pip install --no-cache-dir --force-reinstall yq \
|
&& pip install --no-cache-dir --force-reinstall yq || true \
|
||||||
\
|
\
|
||||||
\
|
\
|
||||||
&& rm -rf /root/.cache/pip \
|
&& rm -rf /root/.cache/pip \
|
||||||
@@ -561,55 +566,55 @@ RUN set -eux \
|
|||||||
|
|
||||||
RUN set -eux \
|
RUN set -eux \
|
||||||
# -------------------- Software --------------------
|
# -------------------- Software --------------------
|
||||||
&& composer --version 2>/dev/null | grep -E 'version\s*[.0-9]+' \
|
&& composer --version 2>/dev/null | grep -E 'version\s*[0-9][.0-9]+' \
|
||||||
&& su -c '. /opt/nvm/nvm.sh; nvm --version' devilbox | grep -E '^[.0-9]+' \
|
&& su -c '. /opt/nvm/nvm.sh; nvm --version' devilbox | grep -E '^[0-9][.0-9]+' \
|
||||||
&& regex-grep --version | grep -E '[.0-9]+' \
|
&& regex-grep --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& dep --version 2>/dev/null | grep -Ei 'deployer\s*(version\s*)?[.0-9]+' \
|
&& dep --version 2>/dev/null | grep -Ei 'deployer\s*(version\s*)?[0-9][.0-9]+' \
|
||||||
&& drush7 --version | grep -E '7[.0-9]+\s*$' \
|
&& drush7 --version | grep -E '7[.0-9]+\s*$' \
|
||||||
&& drush8 --version | grep -E '8[.0-9]+\s*$' \
|
&& drush8 --version | grep -E '8[.0-9]+\s*$' \
|
||||||
&& drush9 --version | grep -E '9[.0-9]+\s*$' \
|
&& drush9 --version | grep -E '9[.0-9]+\s*$' \
|
||||||
&& drupal --version | grep -E 'Drupal Console Launcher\s*[.0-9]' \
|
&& drupal --version | grep -E 'Drupal Console Launcher\s*[0-9][.0-9]' \
|
||||||
&& git-flow version | grep -E '[.0-9]+' \
|
&& git-flow version | grep -E '[0-9][.0-9]+' \
|
||||||
&& laravel --version | grep -E '(Installer|version)\s*[.0-9]+' \
|
&& laravel --version | grep -E '(Installer|version)\s*[0-9][.0-9]+' \
|
||||||
&& linkcheck --version | grep -E '^linkcheck\sv[.0-9]+' \
|
&& linkcheck --version | grep -E '^linkcheck\sv[0-9][.0-9]+' \
|
||||||
&& su - ${MY_USER} -c '/usr/local/src/linuxbrew/bin/brew --version' | grep -E 'Homebrew\s*[.0-9]+' \
|
&& su - ${MY_USER} -c '/usr/local/src/linuxbrew/bin/brew --version' | grep -E 'Homebrew\s*[0-9][.0-9]+' \
|
||||||
&& mysqldump-secure --version | grep -E 'Version:\s*[.0-9]+' \
|
&& mysqldump-secure --version | grep -E 'Version:\s*[0-9][.0-9]+' \
|
||||||
&& phalcon commands | grep -E '[.0-9]+' \
|
&& phalcon commands | grep -E '[0-9][.0-9]+' \
|
||||||
&& phpcs --version | grep -E 'version [.0-9]+' \
|
&& phpcs --version | grep -E 'version [0-9][.0-9]+' \
|
||||||
&& phpcbf --version | grep -E 'version [.0-9]+' \
|
&& phpcbf --version | grep -E 'version [0-9][.0-9]+' \
|
||||||
&& php-cs-fixer --version 2>&1 | grep -E 'Fixer\s+(version\s*)?[-_.0-9]+\s+' \
|
&& php-cs-fixer --version 2>&1 | grep -E 'Fixer\s+(version\s*)?[-_.0-9]+\s+' \
|
||||||
&& phpmd --version | grep -E '^PHPMD [.0-9]+' \
|
&& phpmd --version | grep -E '^PHPMD [0-9][.0-9]+' \
|
||||||
&& phpunit --version | grep -iE '^PHPUnit\s[.0-9]+' \
|
&& phpunit --version | grep -iE '^PHPUnit\s[0-9][.0-9]+' \
|
||||||
&& symfony -V | grep -Ei 'version\s*.*v[.0-9]+' \
|
&& symfony -V | grep -Ei 'version\s*.*v[0-9][.0-9]+' \
|
||||||
&& wkhtmltopdf --version | grep -E "^wkhtmltopdf [.0-9]+\s+\(.+patched.+\)" \
|
&& wkhtmltopdf --version | grep -E "^wkhtmltopdf [0-9][.0-9]+\s+\(.+patched.+\)" \
|
||||||
&& wp --allow-root --version | grep -E '[.0-9]+' \
|
&& wp --allow-root --version | grep -E '[0-9][.0-9]+' \
|
||||||
\
|
\
|
||||||
# -------------------- Composer --------------------
|
# -------------------- Composer --------------------
|
||||||
&& asgardcms --version 2>/dev/null | grep -Ei 'AsgardCMS\sInstaller\s[.0-9]+' \
|
&& asgardcms --version 2>/dev/null | grep -Ei 'AsgardCMS\sInstaller\s[0-9][.0-9]+' \
|
||||||
&& codecept --version 2>/dev/null | grep -E '^Codeception(\sversion)?\s[.0-9]+$' \
|
&& codecept --version 2>/dev/null | grep -E '^Codeception(\sversion)?\s[0-9][.0-9]+$' \
|
||||||
&& lumen --version 2>/dev/null | grep -E '^Lumen Installer\s[.0-9]+$' \
|
&& lumen --version 2>/dev/null | grep -E '^Lumen Installer\s[0-9][.0-9]+$' \
|
||||||
&& photon --version | grep -E 'Installer [.0-9]+' \
|
&& photon --version | grep -E 'Installer [0-9][.0-9]+' \
|
||||||
\
|
\
|
||||||
# -------------------- PIP --------------------
|
# -------------------- PIP --------------------
|
||||||
&& ansible --version | grep -E '^ansible [.0-9]+$' \
|
&& ansible --version | grep -E '^ansible [0-9][.0-9]+$' \
|
||||||
&& yamllint --version 2>&1 | grep -E '[.0-9]+' \
|
&& yamllint --version 2>&1 | grep -E '[0-9][.0-9]+' \
|
||||||
&& yq --version 2>&1 | grep -E '^yq\s+[.0-9]+$' \
|
&& yq --version 2>&1 | grep -E '^yq\s+[0-9][.0-9]+$' \
|
||||||
\
|
\
|
||||||
# -------------------- NPM --------------------
|
# -------------------- NPM --------------------
|
||||||
&& ng version 2>&1 | grep -iE 'Angular CLI:\s*[.0-9]+' \
|
&& ng version 2>&1 | grep -iE 'Angular CLI:\s*[0-9][.0-9]+' \
|
||||||
&& eslint -v | grep -E '[.0-9]+' \
|
&& eslint -v | grep -E '[0-9][.0-9]+' \
|
||||||
&& grunt --version | grep -E '[.0-9]+' \
|
&& grunt --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& gulp --version | grep -E '[.0-9]+' \
|
&& gulp --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& jsonlint --version | grep -E '[.0-9]+' \
|
&& jsonlint --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& pm2 --no-daemon --version | grep -E '[.0-9]+' \
|
&& pm2 --no-daemon --version | tail -1 | grep -E '[0-9][.0-9]+' \
|
||||||
&& mdlint --version | grep -E '[.0-9]+' \
|
&& mdlint --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& sass --version | grep -E '[.0-9]+' \
|
&& sass --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& stylelint --version | grep -E '[.0-9]+' \
|
&& stylelint --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& vue --version | grep -E '[.0-9]+' \
|
&& vue --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& webpack --version | grep -E '[.0-9]+' \
|
&& webpack --version | grep -E '[0-9][.0-9]+' \
|
||||||
\
|
\
|
||||||
# -------------------- GEM --------------------
|
# -------------------- GEM --------------------
|
||||||
&& mdl --version | grep -E '[.0-9]+' \
|
&& mdl --version | grep -E '[0-9][.0-9]+' \
|
||||||
\
|
\
|
||||||
# -------------------- Cleanup --------------------
|
# -------------------- Cleanup --------------------
|
||||||
&& rm -rf /home/devilbox/.cache/ \
|
&& rm -rf /home/devilbox/.cache/ \
|
||||||
|
|||||||
@@ -62,6 +62,7 @@ RUN set -eux \
|
|||||||
blackfire-agent \
|
blackfire-agent \
|
||||||
build-essential \
|
build-essential \
|
||||||
bzip2 \
|
bzip2 \
|
||||||
|
certbot \
|
||||||
coreutils \
|
coreutils \
|
||||||
dnsutils \
|
dnsutils \
|
||||||
dos2unix \
|
dos2unix \
|
||||||
@@ -73,6 +74,7 @@ RUN set -eux \
|
|||||||
git-svn \
|
git-svn \
|
||||||
ghostscript \
|
ghostscript \
|
||||||
graphviz \
|
graphviz \
|
||||||
|
gsfonts \
|
||||||
hostname \
|
hostname \
|
||||||
htop \
|
htop \
|
||||||
imagemagick \
|
imagemagick \
|
||||||
@@ -88,6 +90,8 @@ RUN set -eux \
|
|||||||
mongodb-org-tools \
|
mongodb-org-tools \
|
||||||
moreutils \
|
moreutils \
|
||||||
mariadb-client \
|
mariadb-client \
|
||||||
|
mupdf \
|
||||||
|
mupdf-tools \
|
||||||
nano \
|
nano \
|
||||||
net-tools \
|
net-tools \
|
||||||
netcat \
|
netcat \
|
||||||
@@ -215,7 +219,8 @@ RUN set -eux \
|
|||||||
\
|
\
|
||||||
\
|
\
|
||||||
# -------------------- drupalconsole --------------------
|
# -------------------- drupalconsole --------------------
|
||||||
&& curl -sS -L --fail https://drupalconsole.com/installer -L -o /usr/local/bin/drupal \
|
&& DURL="https://github.com$(curl -sS 'https://github.com/hechoendrupal/drupal-console-launcher/releases' | grep -Eo 'href="/.+drupal.phar"' | head -1 | sed 's/^href="//g' | sed 's/"$//g')" \
|
||||||
|
&& curl -sS -L --fail "${DURL}" -L -o /usr/local/bin/drupal \
|
||||||
&& chmod +x /usr/local/bin/drupal \
|
&& chmod +x /usr/local/bin/drupal \
|
||||||
\
|
\
|
||||||
# -------------------- gitflow --------------------
|
# -------------------- gitflow --------------------
|
||||||
@@ -497,13 +502,13 @@ RUN set -eux \
|
|||||||
###
|
###
|
||||||
RUN set -eux \
|
RUN set -eux \
|
||||||
# -------------------- ansible --------------------
|
# -------------------- ansible --------------------
|
||||||
&& pip install --no-cache-dir --force-reinstall ansible \
|
&& pip install --no-cache-dir --force-reinstall ansible || true \
|
||||||
\
|
\
|
||||||
# -------------------- yamllint --------------------
|
# -------------------- yamllint --------------------
|
||||||
&& pip install --no-cache-dir --force-reinstall yamllint \
|
&& pip install --no-cache-dir --force-reinstall yamllint || true \
|
||||||
\
|
\
|
||||||
# -------------------- yq --------------------
|
# -------------------- yq --------------------
|
||||||
&& pip install --no-cache-dir --force-reinstall yq \
|
&& pip install --no-cache-dir --force-reinstall yq || true \
|
||||||
\
|
\
|
||||||
\
|
\
|
||||||
&& rm -rf /root/.cache/pip \
|
&& rm -rf /root/.cache/pip \
|
||||||
@@ -556,54 +561,54 @@ RUN set -eux \
|
|||||||
|
|
||||||
RUN set -eux \
|
RUN set -eux \
|
||||||
# -------------------- Software --------------------
|
# -------------------- Software --------------------
|
||||||
&& composer --version 2>/dev/null | grep -E 'version\s*[.0-9]+' \
|
&& composer --version 2>/dev/null | grep -E 'version\s*[0-9][.0-9]+' \
|
||||||
&& su -c '. /opt/nvm/nvm.sh; nvm --version' devilbox | grep -E '^[.0-9]+' \
|
&& su -c '. /opt/nvm/nvm.sh; nvm --version' devilbox | grep -E '^[0-9][.0-9]+' \
|
||||||
&& regex-grep --version | grep -E '[.0-9]+' \
|
&& regex-grep --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& dep --version 2>/dev/null | grep -Ei 'deployer\s*(version\s*)?[.0-9]+' \
|
&& dep --version 2>/dev/null | grep -Ei 'deployer\s*(version\s*)?[0-9][.0-9]+' \
|
||||||
&& drush7 --version | grep -E '7[.0-9]+\s*$' \
|
&& drush7 --version | grep -E '7[.0-9]+\s*$' \
|
||||||
&& drush8 --version | grep -E '8[.0-9]+\s*$' \
|
&& drush8 --version | grep -E '8[.0-9]+\s*$' \
|
||||||
&& drush9 --version | grep -E '9[.0-9]+\s*$' \
|
&& drush9 --version | grep -E '9[.0-9]+\s*$' \
|
||||||
&& drupal --version | grep -E 'Drupal Console Launcher\s*[.0-9]' \
|
&& drupal --version | grep -E 'Drupal Console Launcher\s*[0-9][.0-9]' \
|
||||||
&& git-flow version | grep -E '[.0-9]+' \
|
&& git-flow version | grep -E '[0-9][.0-9]+' \
|
||||||
&& laravel --version | grep -E '(Installer|version)\s*[.0-9]+' \
|
&& laravel --version | grep -E '(Installer|version)\s*[0-9][.0-9]+' \
|
||||||
&& linkcheck --version | grep -E '^linkcheck\sv[.0-9]+' \
|
&& linkcheck --version | grep -E '^linkcheck\sv[0-9][.0-9]+' \
|
||||||
&& su - ${MY_USER} -c '/usr/local/src/linuxbrew/bin/brew --version' | grep -E 'Homebrew\s*[.0-9]+' \
|
&& su - ${MY_USER} -c '/usr/local/src/linuxbrew/bin/brew --version' | grep -E 'Homebrew\s*[0-9][.0-9]+' \
|
||||||
&& mysqldump-secure --version | grep -E 'Version:\s*[.0-9]+' \
|
&& mysqldump-secure --version | grep -E 'Version:\s*[0-9][.0-9]+' \
|
||||||
&& phalcon commands | grep -E '[.0-9]+' \
|
&& phalcon commands | grep -E '[0-9][.0-9]+' \
|
||||||
&& phpcs --version | grep -E 'version [.0-9]+' \
|
&& phpcs --version | grep -E 'version [0-9][.0-9]+' \
|
||||||
&& phpcbf --version | grep -E 'version [.0-9]+' \
|
&& phpcbf --version | grep -E 'version [0-9][.0-9]+' \
|
||||||
&& phpmd --version | grep -E '^PHPMD [.0-9]+' \
|
&& phpmd --version | grep -E '^PHPMD [0-9][.0-9]+' \
|
||||||
&& phpunit --version | grep -iE '^PHPUnit\s[.0-9]+' \
|
&& phpunit --version | grep -iE '^PHPUnit\s[0-9][.0-9]+' \
|
||||||
&& symfony -V | grep -Ei 'version\s*.*v[.0-9]+' \
|
&& symfony -V | grep -Ei 'version\s*.*v[0-9][.0-9]+' \
|
||||||
&& wkhtmltopdf --version | grep -E "^wkhtmltopdf [.0-9]+\s+\(.+patched.+\)" \
|
&& wkhtmltopdf --version | grep -E "^wkhtmltopdf [0-9][.0-9]+\s+\(.+patched.+\)" \
|
||||||
&& wp --allow-root --version | grep -E '[.0-9]+' \
|
&& wp --allow-root --version | grep -E '[0-9][.0-9]+' \
|
||||||
\
|
\
|
||||||
# -------------------- Composer --------------------
|
# -------------------- Composer --------------------
|
||||||
&& asgardcms --version 2>/dev/null | grep -Ei 'AsgardCMS\sInstaller\s[.0-9]+' \
|
&& asgardcms --version 2>/dev/null | grep -Ei 'AsgardCMS\sInstaller\s[0-9][.0-9]+' \
|
||||||
&& codecept --version 2>/dev/null | grep -E '^Codeception(\sversion)?\s[.0-9]+$' \
|
&& codecept --version 2>/dev/null | grep -E '^Codeception(\sversion)?\s[0-9][.0-9]+$' \
|
||||||
&& lumen --version 2>/dev/null | grep -E '^Lumen Installer\s[.0-9]+$' \
|
&& lumen --version 2>/dev/null | grep -E '^Lumen Installer\s[0-9][.0-9]+$' \
|
||||||
&& photon --version | grep -E 'Installer [.0-9]+' \
|
&& photon --version | grep -E 'Installer [0-9][.0-9]+' \
|
||||||
\
|
\
|
||||||
# -------------------- PIP --------------------
|
# -------------------- PIP --------------------
|
||||||
&& ansible --version | grep -E '^ansible [.0-9]+$' \
|
&& ansible --version | grep -E '^ansible [0-9][.0-9]+$' \
|
||||||
&& yamllint --version 2>&1 | grep -E '[.0-9]+' \
|
&& yamllint --version 2>&1 | grep -E '[0-9][.0-9]+' \
|
||||||
&& yq --version 2>&1 | grep -E '^yq\s+[.0-9]+$' \
|
&& yq --version 2>&1 | grep -E '^yq\s+[0-9][.0-9]+$' \
|
||||||
\
|
\
|
||||||
# -------------------- NPM --------------------
|
# -------------------- NPM --------------------
|
||||||
&& ng version 2>&1 | grep -iE 'Angular CLI:\s*[.0-9]+' \
|
&& ng version 2>&1 | grep -iE 'Angular CLI:\s*[0-9][.0-9]+' \
|
||||||
&& eslint -v | grep -E '[.0-9]+' \
|
&& eslint -v | grep -E '[0-9][.0-9]+' \
|
||||||
&& grunt --version | grep -E '[.0-9]+' \
|
&& grunt --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& gulp --version | grep -E '[.0-9]+' \
|
&& gulp --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& jsonlint --version | grep -E '[.0-9]+' \
|
&& jsonlint --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& pm2 --no-daemon --version | grep -E '[.0-9]+' \
|
&& pm2 --no-daemon --version | tail -1 | grep -E '[0-9][.0-9]+' \
|
||||||
&& mdlint --version | grep -E '[.0-9]+' \
|
&& mdlint --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& sass --version | grep -E '[.0-9]+' \
|
&& sass --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& stylelint --version | grep -E '[.0-9]+' \
|
&& stylelint --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& vue --version | grep -E '[.0-9]+' \
|
&& vue --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& webpack --version | grep -E '[.0-9]+' \
|
&& webpack --version | grep -E '[0-9][.0-9]+' \
|
||||||
\
|
\
|
||||||
# -------------------- GEM --------------------
|
# -------------------- GEM --------------------
|
||||||
&& mdl --version | grep -E '[.0-9]+' \
|
&& mdl --version | grep -E '[0-9][.0-9]+' \
|
||||||
\
|
\
|
||||||
# -------------------- Cleanup --------------------
|
# -------------------- Cleanup --------------------
|
||||||
&& rm -rf /home/devilbox/.cache/ \
|
&& rm -rf /home/devilbox/.cache/ \
|
||||||
|
|||||||
@@ -62,6 +62,7 @@ RUN set -eux \
|
|||||||
blackfire-agent \
|
blackfire-agent \
|
||||||
build-essential \
|
build-essential \
|
||||||
bzip2 \
|
bzip2 \
|
||||||
|
certbot \
|
||||||
coreutils \
|
coreutils \
|
||||||
dnsutils \
|
dnsutils \
|
||||||
dos2unix \
|
dos2unix \
|
||||||
@@ -73,6 +74,7 @@ RUN set -eux \
|
|||||||
git-svn \
|
git-svn \
|
||||||
ghostscript \
|
ghostscript \
|
||||||
graphviz \
|
graphviz \
|
||||||
|
gsfonts \
|
||||||
hostname \
|
hostname \
|
||||||
htop \
|
htop \
|
||||||
imagemagick \
|
imagemagick \
|
||||||
@@ -88,6 +90,8 @@ RUN set -eux \
|
|||||||
mongodb-org-tools \
|
mongodb-org-tools \
|
||||||
moreutils \
|
moreutils \
|
||||||
mariadb-client \
|
mariadb-client \
|
||||||
|
mupdf \
|
||||||
|
mupdf-tools \
|
||||||
nano \
|
nano \
|
||||||
net-tools \
|
net-tools \
|
||||||
netcat \
|
netcat \
|
||||||
@@ -402,13 +406,13 @@ RUN set -eux \
|
|||||||
###
|
###
|
||||||
RUN set -eux \
|
RUN set -eux \
|
||||||
# -------------------- ansible --------------------
|
# -------------------- ansible --------------------
|
||||||
&& pip install --no-cache-dir --force-reinstall ansible \
|
&& pip install --no-cache-dir --force-reinstall ansible || true \
|
||||||
\
|
\
|
||||||
# -------------------- yamllint --------------------
|
# -------------------- yamllint --------------------
|
||||||
&& pip install --no-cache-dir --force-reinstall yamllint \
|
&& pip install --no-cache-dir --force-reinstall yamllint || true \
|
||||||
\
|
\
|
||||||
# -------------------- yq --------------------
|
# -------------------- yq --------------------
|
||||||
&& pip install --no-cache-dir --force-reinstall yq \
|
&& pip install --no-cache-dir --force-reinstall yq || true \
|
||||||
\
|
\
|
||||||
\
|
\
|
||||||
&& rm -rf /root/.cache/pip \
|
&& rm -rf /root/.cache/pip \
|
||||||
@@ -461,43 +465,43 @@ RUN set -eux \
|
|||||||
|
|
||||||
RUN set -eux \
|
RUN set -eux \
|
||||||
# -------------------- Software --------------------
|
# -------------------- Software --------------------
|
||||||
&& composer --version 2>/dev/null | grep -E 'version\s*[.0-9]+' \
|
&& composer --version 2>/dev/null | grep -E 'version\s*[0-9][.0-9]+' \
|
||||||
&& su -c '. /opt/nvm/nvm.sh; nvm --version' devilbox | grep -E '^[.0-9]+' \
|
&& su -c '. /opt/nvm/nvm.sh; nvm --version' devilbox | grep -E '^[0-9][.0-9]+' \
|
||||||
&& regex-grep --version | grep -E '[.0-9]+' \
|
&& regex-grep --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& dep --version 2>/dev/null | grep -Ei 'deployer\s*(version\s*)?[.0-9]+' \
|
&& dep --version 2>/dev/null | grep -Ei 'deployer\s*(version\s*)?[0-9][.0-9]+' \
|
||||||
&& git-flow version | grep -E '[.0-9]+' \
|
&& git-flow version | grep -E '[0-9][.0-9]+' \
|
||||||
&& linkcheck --version | grep -E '^linkcheck\sv[.0-9]+' \
|
&& linkcheck --version | grep -E '^linkcheck\sv[0-9][.0-9]+' \
|
||||||
&& su - ${MY_USER} -c '/usr/local/src/linuxbrew/bin/brew --version' | grep -E 'Homebrew\s*[.0-9]+' \
|
&& su - ${MY_USER} -c '/usr/local/src/linuxbrew/bin/brew --version' | grep -E 'Homebrew\s*[0-9][.0-9]+' \
|
||||||
&& mysqldump-secure --version | grep -E 'Version:\s*[.0-9]+' \
|
&& mysqldump-secure --version | grep -E 'Version:\s*[0-9][.0-9]+' \
|
||||||
&& phpcs --version | grep -E 'version [.0-9]+' \
|
&& phpcs --version | grep -E 'version [0-9][.0-9]+' \
|
||||||
&& phpcbf --version | grep -E 'version [.0-9]+' \
|
&& phpcbf --version | grep -E 'version [0-9][.0-9]+' \
|
||||||
&& phpmd --version | grep -E '^PHPMD [.0-9]+' \
|
&& phpmd --version | grep -E '^PHPMD [0-9][.0-9]+' \
|
||||||
&& symfony -V | grep -Ei 'version\s*.*v[.0-9]+' \
|
&& symfony -V | grep -Ei 'version\s*.*v[0-9][.0-9]+' \
|
||||||
&& wkhtmltopdf --version | grep -E "^wkhtmltopdf [.0-9]+\s+\(.+patched.+\)" \
|
&& wkhtmltopdf --version | grep -E "^wkhtmltopdf [0-9][.0-9]+\s+\(.+patched.+\)" \
|
||||||
&& wp --allow-root --version | grep -E '[.0-9]+' \
|
&& wp --allow-root --version | grep -E '[0-9][.0-9]+' \
|
||||||
\
|
\
|
||||||
# -------------------- Composer --------------------
|
# -------------------- Composer --------------------
|
||||||
\
|
\
|
||||||
# -------------------- PIP --------------------
|
# -------------------- PIP --------------------
|
||||||
&& ansible --version | grep -E '^ansible [.0-9]+$' \
|
&& ansible --version | grep -E '^ansible [0-9][.0-9]+$' \
|
||||||
&& yamllint --version 2>&1 | grep -E '[.0-9]+' \
|
&& yamllint --version 2>&1 | grep -E '[0-9][.0-9]+' \
|
||||||
&& yq --version 2>&1 | grep -E '^yq\s+[.0-9]+$' \
|
&& yq --version 2>&1 | grep -E '^yq\s+[0-9][.0-9]+$' \
|
||||||
\
|
\
|
||||||
# -------------------- NPM --------------------
|
# -------------------- NPM --------------------
|
||||||
&& ng version 2>&1 | grep -iE 'Angular CLI:\s*[.0-9]+' \
|
&& ng version 2>&1 | grep -iE 'Angular CLI:\s*[0-9][.0-9]+' \
|
||||||
&& eslint -v | grep -E '[.0-9]+' \
|
&& eslint -v | grep -E '[0-9][.0-9]+' \
|
||||||
&& grunt --version | grep -E '[.0-9]+' \
|
&& grunt --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& gulp --version | grep -E '[.0-9]+' \
|
&& gulp --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& jsonlint --version | grep -E '[.0-9]+' \
|
&& jsonlint --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& pm2 --no-daemon --version | grep -E '[.0-9]+' \
|
&& pm2 --no-daemon --version | tail -1 | grep -E '[0-9][.0-9]+' \
|
||||||
&& mdlint --version | grep -E '[.0-9]+' \
|
&& mdlint --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& sass --version | grep -E '[.0-9]+' \
|
&& sass --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& stylelint --version | grep -E '[.0-9]+' \
|
&& stylelint --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& vue --version | grep -E '[.0-9]+' \
|
&& vue --version | grep -E '[0-9][.0-9]+' \
|
||||||
&& webpack --version | grep -E '[.0-9]+' \
|
&& webpack --version | grep -E '[0-9][.0-9]+' \
|
||||||
\
|
\
|
||||||
# -------------------- GEM --------------------
|
# -------------------- GEM --------------------
|
||||||
&& mdl --version | grep -E '[.0-9]+' \
|
&& mdl --version | grep -E '[0-9][.0-9]+' \
|
||||||
\
|
\
|
||||||
# -------------------- Cleanup --------------------
|
# -------------------- Cleanup --------------------
|
||||||
&& rm -rf /home/devilbox/.cache/ \
|
&& rm -rf /home/devilbox/.cache/ \
|
||||||
|
|||||||
51
Makefile
51
Makefile
@@ -73,12 +73,14 @@ help:
|
|||||||
|
|
||||||
gen-readme:
|
gen-readme:
|
||||||
ifeq ($(strip $(VERSION)),)
|
ifeq ($(strip $(VERSION)),)
|
||||||
|
@echo "Generate README.md for all PHP versions"
|
||||||
cd build; ./gen-readme.sh
|
cd build; ./gen-readme.sh
|
||||||
else
|
else
|
||||||
|
@echo "Generate README.md for PHP $(VERSION)"
|
||||||
@$(MAKE) --no-print-directory _check-version
|
@$(MAKE) --no-print-directory _check-version
|
||||||
@$(MAKE) --no-print-directory _check-image-exists _EXIST_IMAGE=base
|
@$(MAKE) --no-print-directory _check-image-exists _EXIST_IMAGE=base
|
||||||
@$(MAKE) --no-print-directory _check-image-exists _EXIST_IMAGE=mods
|
@$(MAKE) --no-print-directory _check-image-exists _EXIST_IMAGE=mods
|
||||||
cd build; ./gen-readme.sh ${VERSION}
|
cd build; ./gen-readme.sh $(VERSION)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
||||||
@@ -227,6 +229,52 @@ test-work: _check-version
|
|||||||
./tests/test.sh ${VERSION} work
|
./tests/test.sh ${VERSION} work
|
||||||
|
|
||||||
|
|
||||||
|
# -------------------------------------------------------------------------------------------------
|
||||||
|
# DOCKERHUB TARGETS
|
||||||
|
# -------------------------------------------------------------------------------------------------
|
||||||
|
login:
|
||||||
|
ifeq ($(strip $(USERNAME)),)
|
||||||
|
@$(info This make target requires the USERNAME variable to be set.)
|
||||||
|
@$(info make login USERNAME= PASSWORD=)
|
||||||
|
@$(info )
|
||||||
|
@$(error Exiting)
|
||||||
|
endif
|
||||||
|
ifeq ($(strip $(PASSWORD)),)
|
||||||
|
@$(info This make target requires the PASSWORD variable to be set.)
|
||||||
|
@$(info make login USERNAME= PASSWORD=)
|
||||||
|
@$(info )
|
||||||
|
@$(error Exiting)
|
||||||
|
endif
|
||||||
|
@yes | docker login --username $(USERNAME) --password $(PASSWORD)
|
||||||
|
|
||||||
|
|
||||||
|
push:
|
||||||
|
ifeq ($(strip $(TAG)),)
|
||||||
|
@$(info This make target requires the TAG variable to be set.)
|
||||||
|
@$(info make push TAG=)
|
||||||
|
@$(info )
|
||||||
|
@$(error Exiting)
|
||||||
|
endif
|
||||||
|
docker push $(IMAGE):$(TAG)
|
||||||
|
|
||||||
|
|
||||||
|
tag:
|
||||||
|
ifeq ($(strip $(OLD_TAG)),)
|
||||||
|
@$(info This make target requires the OLD_TAG variable to be set.)
|
||||||
|
@$(info make tag OLD_TAG= NEW_TAG=)
|
||||||
|
@$(info )
|
||||||
|
@$(error Exiting)
|
||||||
|
endif
|
||||||
|
ifeq ($(strip $(NEW_TAG)),)
|
||||||
|
@$(info This make target requires the NEW_TAG variable to be set.)
|
||||||
|
@$(info make tag OLD_TAG= NEW_TAG=)
|
||||||
|
@$(info )
|
||||||
|
@$(error Exiting)
|
||||||
|
endif
|
||||||
|
docker tag $(IMAGE):$(OLD_TAG) $(IMAGE):$(NEW_TAG)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# -------------------------------------------------------------------------------------------------
|
# -------------------------------------------------------------------------------------------------
|
||||||
# HELPER TARGETS
|
# HELPER TARGETS
|
||||||
# -------------------------------------------------------------------------------------------------
|
# -------------------------------------------------------------------------------------------------
|
||||||
@@ -274,6 +322,7 @@ endif
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
@echo "Version $(VERSION) is valid"
|
||||||
|
|
||||||
|
|
||||||
_check-image-exists:
|
_check-image-exists:
|
||||||
|
|||||||
@@ -617,7 +617,7 @@ Check out this table to see which Docker image provides what PHP modules.
|
|||||||
<tr>
|
<tr>
|
||||||
<th>5.5</th>
|
<th>5.5</th>
|
||||||
<td id="55-base">Core, ctype, curl, date, dom, ereg, fileinfo, filter, ftp, hash, iconv, json, libxml, mbstring, mysqlnd, openssl, pcre, PDO, pdo_sqlite, Phar, posix, readline, Reflection, session, SimpleXML, SPL, sqlite3, standard, tokenizer, xml, xmlreader, xmlwriter, zlib</td>
|
<td id="55-base">Core, ctype, curl, date, dom, ereg, fileinfo, filter, ftp, hash, iconv, json, libxml, mbstring, mysqlnd, openssl, pcre, PDO, pdo_sqlite, Phar, posix, readline, Reflection, session, SimpleXML, SPL, sqlite3, standard, tokenizer, xml, xmlreader, xmlwriter, zlib</td>
|
||||||
<td id="55-mods">amqp, apc, apcu, bcmath, bz2, calendar, Core, ctype, curl, date, dba, dom, enchant, ereg, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, igbinary, imap, interbase, intl, ioncube, json, ldap, libxml, mbstring, mcrypt, memcache, memcached, mongo, mongodb, msgpack, mysql, mysqli, mysqlnd, OAuth, oci8, openssl, pcntl, pcre, PDO, pdo_dblib, PDO_Firebird, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, phalcon, Phar, posix, pspell, psr, rdkafka, readline, recode, redis, Reflection, session, shmop, SimpleXML, snmp, soap, sockets, SPL, sqlite3, standard, swoole, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, uploadprogress, wddx, xdebug, xml, xmlreader, xmlrpc, xmlwriter, xsl, yaml, Zend OPcache, zip, zlib</td>
|
<td id="55-mods">amqp, apc, apcu, bcmath, bz2, calendar, Core, ctype, curl, date, dba, dom, enchant, ereg, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, igbinary, imagick, imap, interbase, intl, ioncube, json, ldap, libxml, mbstring, mcrypt, memcache, memcached, mongo, mongodb, msgpack, mysql, mysqli, mysqlnd, OAuth, oci8, openssl, pcntl, pcre, PDO, pdo_dblib, PDO_Firebird, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, phalcon, Phar, posix, pspell, psr, rdkafka, readline, recode, redis, Reflection, session, shmop, SimpleXML, snmp, soap, sockets, SPL, sqlite3, standard, swoole, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, uploadprogress, wddx, xdebug, xml, xmlreader, xmlrpc, xmlwriter, xsl, yaml, Zend OPcache, zip, zlib</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>5.6</th>
|
<th>5.6</th>
|
||||||
@@ -647,12 +647,12 @@ Check out this table to see which Docker image provides what PHP modules.
|
|||||||
<tr>
|
<tr>
|
||||||
<th>7.4</th>
|
<th>7.4</th>
|
||||||
<td id="74-base">Core, ctype, curl, date, dom, fileinfo, filter, ftp, hash, iconv, json, libxml, mbstring, mysqlnd, openssl, pcre, PDO, pdo_sqlite, Phar, posix, readline, Reflection, session, SimpleXML, sodium, SPL, sqlite3, standard, tokenizer, xml, xmlreader, xmlwriter, zlib</td>
|
<td id="74-base">Core, ctype, curl, date, dom, fileinfo, filter, ftp, hash, iconv, json, libxml, mbstring, mysqlnd, openssl, pcre, PDO, pdo_sqlite, Phar, posix, readline, Reflection, session, SimpleXML, sodium, SPL, sqlite3, standard, tokenizer, xml, xmlreader, xmlwriter, zlib</td>
|
||||||
<td id="74-mods">amqp, apcu, bcmath, blackfire, bz2, calendar, Core, ctype, curl, date, dba, dom, enchant, exif, FFI, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, igbinary, imagick, intl, json, ldap, libxml, mbstring, mcrypt, memcache, memcached, mongodb, msgpack, mysqli, mysqlnd, OAuth, oci8, openssl, pcntl, pcre, PDO, pdo_dblib, PDO_Firebird, pdo_mysql, PDO_OCI, pdo_pgsql, pdo_sqlite, pgsql, phalcon, Phar, posix, pspell, psr, rdkafka, readline, redis, Reflection, session, shmop, SimpleXML, snmp, soap, sockets, sodium, solr, SPL, sqlite3, ssh2, standard, swoole, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, uploadprogress, xdebug, xml, xmlreader, xmlrpc, xmlwriter, xsl, yaml, Zend OPcache, zip, zlib</td>
|
<td id="74-mods">amqp, apcu, bcmath, blackfire, bz2, calendar, Core, ctype, curl, date, dba, dom, enchant, exif, FFI, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, igbinary, imagick, imap, intl, json, ldap, libxml, mbstring, mcrypt, memcache, memcached, mongodb, msgpack, mysqli, mysqlnd, OAuth, oci8, openssl, pcntl, pcre, PDO, pdo_dblib, PDO_Firebird, pdo_mysql, PDO_OCI, pdo_pgsql, pdo_sqlite, pgsql, phalcon, Phar, posix, pspell, psr, rdkafka, readline, redis, Reflection, session, shmop, SimpleXML, snmp, soap, sockets, sodium, solr, SPL, sqlite3, ssh2, standard, swoole, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, uploadprogress, xdebug, xml, xmlreader, xmlrpc, xmlwriter, xsl, yaml, Zend OPcache, zip, zlib</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>8.0</th>
|
<th>8.0</th>
|
||||||
<td id="80-base">Core, ctype, curl, date, dom, FFI, fileinfo, filter, ftp, hash, iconv, json, libxml, mbstring, mysqlnd, openssl, pcre, PDO, pdo_sqlite, Phar, posix, readline, Reflection, session, SimpleXML, sodium, SPL, sqlite3, standard, tokenizer, xml, xmlreader, xmlwriter, zlib</td>
|
<td id="80-base">Core, ctype, curl, date, dom, FFI, fileinfo, filter, ftp, hash, iconv, json, libxml, mbstring, mysqlnd, openssl, pcre, PDO, pdo_sqlite, Phar, posix, readline, Reflection, session, SimpleXML, sodium, SPL, sqlite3, standard, tokenizer, xml, xmlreader, xmlwriter, zlib</td>
|
||||||
<td id="80-mods">bcmath, bz2, calendar, Core, ctype, curl, date, dba, dom, enchant, exif, FFI, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, intl, json, ldap, libxml, mbstring, memcached, mongodb, mysqli, mysqlnd, oci8, openssl, pcntl, pcre, PDO, pdo_dblib, PDO_Firebird, pdo_mysql, PDO_OCI, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, pspell, readline, redis, Reflection, session, shmop, SimpleXML, snmp, soap, sockets, sodium, SPL, sqlite3, standard, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend OPcache, zip, zlib</td>
|
<td id="80-mods">bcmath, bz2, calendar, Core, ctype, curl, date, dba, dom, enchant, exif, FFI, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, intl, json, ldap, libxml, mbstring, memcached, mysqli, mysqlnd, oci8, openssl, pcntl, pcre, PDO, pdo_dblib, PDO_Firebird, pdo_mysql, PDO_OCI, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, pspell, readline, redis, Reflection, session, shmop, SimpleXML, snmp, soap, sockets, sodium, SPL, sqlite3, standard, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, xml, xmlreader, xmlwriter, xsl, Zend OPcache, zip, zlib</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|||||||
@@ -76,6 +76,9 @@ RUN set -eux \
|
|||||||
blackfire-agent \
|
blackfire-agent \
|
||||||
build-essential \
|
build-essential \
|
||||||
bzip2 \
|
bzip2 \
|
||||||
|
{% if php_version != 5.2 and php_version != 5.3 and php_version != 5.4 and php_version != 5.5 %}
|
||||||
|
certbot \
|
||||||
|
{% endif %}
|
||||||
coreutils \
|
coreutils \
|
||||||
dnsutils \
|
dnsutils \
|
||||||
dos2unix \
|
dos2unix \
|
||||||
@@ -87,6 +90,7 @@ RUN set -eux \
|
|||||||
git-svn \
|
git-svn \
|
||||||
ghostscript \
|
ghostscript \
|
||||||
graphviz \
|
graphviz \
|
||||||
|
gsfonts \
|
||||||
hostname \
|
hostname \
|
||||||
htop \
|
htop \
|
||||||
imagemagick \
|
imagemagick \
|
||||||
@@ -106,6 +110,8 @@ RUN set -eux \
|
|||||||
{% else %}
|
{% else %}
|
||||||
mysql-client \
|
mysql-client \
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
mupdf \
|
||||||
|
mupdf-tools \
|
||||||
nano \
|
nano \
|
||||||
net-tools \
|
net-tools \
|
||||||
netcat \
|
netcat \
|
||||||
@@ -381,13 +387,13 @@ RUN set -eux \
|
|||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
{#- Version specific gem version available? -#}
|
{#- Version specific gem version available? -#}
|
||||||
{%- if php_version in pip_available[tool] and 'version' in pip_available[tool][php_version] -%}
|
{%- if php_version in pip_available[tool] and 'version' in pip_available[tool][php_version] -%}
|
||||||
{{ "\n\t" }}&& pip install --no-cache-dir --force-reinstall {{ pip_available[tool]['name'] }}=={{ pip_available[tool][php_version]['version'] }} \
|
{{ "\n\t" }}&& pip install --no-cache-dir --force-reinstall {{ pip_available[tool]['name'] }}=={{ pip_available[tool][php_version]['version'] }} || true \
|
||||||
{#- Generic gem version available? -#}
|
{#- Generic gem version available? -#}
|
||||||
{%- elif 'all' in pip_available[tool] and 'version' in pip_available[tool]['all'] -%}
|
{%- elif 'all' in pip_available[tool] and 'version' in pip_available[tool]['all'] -%}
|
||||||
{{ "\n\t" }}&& pip install --no-cache-dir --force-reinstall {{ pip_available[tool]['name'] }}=={{ pip_available[tool]['all']['version'] }} \
|
{{ "\n\t" }}&& pip install --no-cache-dir --force-reinstall {{ pip_available[tool]['name'] }}=={{ pip_available[tool]['all']['version'] }} || true \
|
||||||
{#- No version info available -#}
|
{#- No version info available -#}
|
||||||
{%- else -%}
|
{%- else -%}
|
||||||
{{ "\n\t" }}&& pip install --no-cache-dir --force-reinstall {{ pip_available[tool]['name'] }} \
|
{{ "\n\t" }}&& pip install --no-cache-dir --force-reinstall {{ pip_available[tool]['name'] }} || true \
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
{#- Fail fast version -#}
|
{#- Fail fast version -#}
|
||||||
{%- if build_fail_fast -%}
|
{%- if build_fail_fast -%}
|
||||||
|
|||||||
@@ -343,19 +343,35 @@ extensions_available:
|
|||||||
all:
|
all:
|
||||||
type: pecl
|
type: pecl
|
||||||
imagick:
|
imagick:
|
||||||
disabled: [5.2, 5.3, 5.4, 5.5, 8.0] # 5.3, 5.4 and 5.5 segfaults
|
disabled: [5.2, 5.3, 5.4, 8.0] # Only available since 5.3. 5.3 and 5.4 segfaults
|
||||||
|
5.5:
|
||||||
|
type: pecl
|
||||||
|
build_dep: [libmagickwand-dev, libwebp5, ghostscript]
|
||||||
|
run_dep: [libmagickwand-6.q16-2, libwebp5, ghostscript]
|
||||||
5.6:
|
5.6:
|
||||||
type: pecl
|
type: pecl
|
||||||
run_dep: [libmagickwand-6.q16-3, libwebp6]
|
run_dep: [libmagickwand-6.q16-3, libwebp6, ghostscript]
|
||||||
7.0:
|
7.0:
|
||||||
type: pecl
|
type: pecl
|
||||||
run_dep: [libmagickwand-6.q16-3, libwebp6]
|
run_dep: [libmagickwand-6.q16-3, libwebp6, ghostscript]
|
||||||
all:
|
all:
|
||||||
type: pecl
|
type: pecl
|
||||||
build_dep: [libmagickwand-dev, libwebp6]
|
build_dep: [libmagickwand-dev, libwebp6, ghostscript]
|
||||||
run_dep: [libmagickwand-6.q16-6, libwebp-dev]
|
run_dep: [libmagickwand-6.q16-6, libwebp-dev, ghostscript]
|
||||||
|
# https://bugs.php.net/bug.php?id=77683
|
||||||
|
# https://github.com/Imagick/imagick/issues/262 (policy prevents PDF from being read)
|
||||||
|
post: |
|
||||||
|
sed -i'' 's|.*"thread".*| <policy domain="resource" name="thread" value="1"/>|g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"PS".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"PS2".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"PS3".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"EPS".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"PDF".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"XPS".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"PS".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="delegate".*pattern="gs".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
imap:
|
imap:
|
||||||
disabled: [7.4, 8.0] # TODO: re-enable. currently fails with: configure: error: OpenSSL libraries not found.
|
disabled: [8.0] # TODO: re-enable. currently fails with: configure: error: OpenSSL libraries not found.
|
||||||
all:
|
all:
|
||||||
type: builtin
|
type: builtin
|
||||||
pre: ln -s /usr/lib/x86_64-linux-gnu/libkrb5* /usr/lib/
|
pre: ln -s /usr/lib/x86_64-linux-gnu/libkrb5* /usr/lib/
|
||||||
@@ -500,7 +516,7 @@ extensions_available:
|
|||||||
command: yes yes | pecl install mongo
|
command: yes yes | pecl install mongo
|
||||||
build_dep: [libssl-dev, libsasl2-dev]
|
build_dep: [libssl-dev, libsasl2-dev]
|
||||||
mongodb:
|
mongodb:
|
||||||
disabled: [5.2]
|
disabled: [5.2, 8.0]
|
||||||
5.3:
|
5.3:
|
||||||
type: pecl
|
type: pecl
|
||||||
version: 0.6.3
|
version: 0.6.3
|
||||||
@@ -510,6 +526,9 @@ extensions_available:
|
|||||||
5.5:
|
5.5:
|
||||||
type: pecl
|
type: pecl
|
||||||
version: 1.5.5
|
version: 1.5.5
|
||||||
|
5.6:
|
||||||
|
type: pecl
|
||||||
|
version: 1.7.5
|
||||||
8.0:
|
8.0:
|
||||||
type: git
|
type: git
|
||||||
git_url: https://github.com/mongodb/mongo-php-driver
|
git_url: https://github.com/mongodb/mongo-php-driver
|
||||||
@@ -824,6 +843,10 @@ extensions_available:
|
|||||||
# TODO: This is a nasty work-around to fix current phpredis implementation for PHP 8.0
|
# TODO: This is a nasty work-around to fix current phpredis implementation for PHP 8.0
|
||||||
command: |
|
command: |
|
||||||
sed -i'' 's/, ZSTR_LEN(ra->algorithm)//g' redis_array_impl.c \
|
sed -i'' 's/, ZSTR_LEN(ra->algorithm)//g' redis_array_impl.c \
|
||||||
|
&& sed -i'' 's|.*sctx->cb\.no_separation.*||g' library.c \
|
||||||
|
&& sed -i'' 's|.*sctx->cb\.no_separation.*||g' redis_array_impl.c \
|
||||||
|
&& sed -i'' 's|.*sctx->cb\.no_separation.*||g' cluster_library.c \
|
||||||
|
&& sed -i'' 's|.*->no_separation.*||g' redis_array_impl.c \
|
||||||
&& phpize \
|
&& phpize \
|
||||||
&& ./configure --enable-redis \
|
&& ./configure --enable-redis \
|
||||||
&& make -j$(getconf _NPROCESSORS_ONLN) \
|
&& make -j$(getconf _NPROCESSORS_ONLN) \
|
||||||
@@ -1026,6 +1049,7 @@ extensions_available:
|
|||||||
xmlreader:
|
xmlreader:
|
||||||
already_avail: "{{ php_all_versions }}"
|
already_avail: "{{ php_all_versions }}"
|
||||||
xmlrpc:
|
xmlrpc:
|
||||||
|
disabled: [8.0]
|
||||||
7.4:
|
7.4:
|
||||||
type: builtin
|
type: builtin
|
||||||
configure: --with-iconv-dir=/usr
|
configure: --with-iconv-dir=/usr
|
||||||
@@ -1054,6 +1078,9 @@ extensions_available:
|
|||||||
5.6:
|
5.6:
|
||||||
type: pecl
|
type: pecl
|
||||||
version: 1.3.2
|
version: 1.3.2
|
||||||
|
7.0:
|
||||||
|
type: pecl
|
||||||
|
version: 2.0.4
|
||||||
all:
|
all:
|
||||||
type: pecl
|
type: pecl
|
||||||
build_dep: [libyaml-dev]
|
build_dep: [libyaml-dev]
|
||||||
|
|||||||
@@ -43,6 +43,7 @@ composer_enabled:
|
|||||||
# -------------------------------------------------------------------------------------------------
|
# -------------------------------------------------------------------------------------------------
|
||||||
gem_enabled:
|
gem_enabled:
|
||||||
- mixlib_config
|
- mixlib_config
|
||||||
|
- ffi
|
||||||
- rb_inotify
|
- rb_inotify
|
||||||
- mdl
|
- mdl
|
||||||
|
|
||||||
@@ -207,22 +208,22 @@ apt_repositories_available:
|
|||||||
composer_available:
|
composer_available:
|
||||||
asgardcms:
|
asgardcms:
|
||||||
disabled: [5.2, 5.3, 5.4, 8.0]
|
disabled: [5.2, 5.3, 5.4, 8.0]
|
||||||
check: asgardcms --version 2>/dev/null | grep -Ei 'AsgardCMS\sInstaller\s[.0-9]+'
|
check: asgardcms --version 2>/dev/null | grep -Ei 'AsgardCMS\sInstaller\s[0-9][.0-9]+'
|
||||||
name: asgardcms/asgardcms-installer
|
name: asgardcms/asgardcms-installer
|
||||||
link: asgardcms
|
link: asgardcms
|
||||||
codeception:
|
codeception:
|
||||||
disabled: [5.2, 8.0]
|
disabled: [5.2, 8.0]
|
||||||
check: codecept --version 2>/dev/null | grep -E '^Codeception(\sversion)?\s[.0-9]+$'
|
check: codecept --version 2>/dev/null | grep -E '^Codeception(\sversion)?\s[0-9][.0-9]+$'
|
||||||
name: codeception/codeception
|
name: codeception/codeception
|
||||||
link: codecept
|
link: codecept
|
||||||
lumen:
|
lumen:
|
||||||
disabled: [5.2, 5.3, 5.4, 8.0]
|
disabled: [5.2, 5.3, 5.4, 8.0]
|
||||||
check: lumen --version 2>/dev/null | grep -E '^Lumen Installer\s[.0-9]+$'
|
check: lumen --version 2>/dev/null | grep -E '^Lumen Installer\s[0-9][.0-9]+$'
|
||||||
name: laravel/lumen-installer
|
name: laravel/lumen-installer
|
||||||
link: lumen
|
link: lumen
|
||||||
photon:
|
photon:
|
||||||
disabled: [5.2, 5.3, 5.4, 8.0]
|
disabled: [5.2, 5.3, 5.4, 8.0]
|
||||||
check: photon --version | grep -E 'Installer [.0-9]+'
|
check: photon --version | grep -E 'Installer [0-9][.0-9]+'
|
||||||
name: photoncms/installer
|
name: photoncms/installer
|
||||||
link: photon
|
link: photon
|
||||||
prestissimo:
|
prestissimo:
|
||||||
@@ -248,13 +249,20 @@ gem_available:
|
|||||||
name: mixlib-config
|
name: mixlib-config
|
||||||
all:
|
all:
|
||||||
version: 2.2.4
|
version: 2.2.4
|
||||||
|
# Required by rb-inotify, as otherwise rb-inotify will pull ffi as a dependency in a
|
||||||
|
# version which is not supported by the ruby version (>= 2.3)
|
||||||
|
ffi:
|
||||||
|
name: ffi
|
||||||
|
disabled: [5.6, 7.0, 7.1, 7.2, 7.3, 7.4, 8.0]
|
||||||
|
all:
|
||||||
|
version: 1.12.2
|
||||||
rb_inotify:
|
rb_inotify:
|
||||||
name: rb-inotify
|
name: rb-inotify
|
||||||
all:
|
all:
|
||||||
version: 0.9.10
|
version: 0.9.10
|
||||||
mdl:
|
mdl:
|
||||||
name: mdl
|
name: mdl
|
||||||
check: mdl --version | grep -E '[.0-9]+'
|
check: mdl --version | grep -E '[0-9][.0-9]+'
|
||||||
8.0:
|
8.0:
|
||||||
version: 0.5.0
|
version: 0.5.0
|
||||||
7.4:
|
7.4:
|
||||||
@@ -289,43 +297,43 @@ gem_available:
|
|||||||
npm_available:
|
npm_available:
|
||||||
angular_cli:
|
angular_cli:
|
||||||
name: "@angular/cli"
|
name: "@angular/cli"
|
||||||
check: ng version 2>&1 | grep -iE 'Angular CLI:\s*[.0-9]+'
|
check: ng version 2>&1 | grep -iE 'Angular CLI:\s*[0-9][.0-9]+'
|
||||||
eslint:
|
eslint:
|
||||||
name: eslint
|
name: eslint
|
||||||
check: eslint -v | grep -E '[.0-9]+'
|
check: eslint -v | grep -E '[0-9][.0-9]+'
|
||||||
grunt:
|
grunt:
|
||||||
name: grunt
|
name: grunt
|
||||||
grunt_cli:
|
grunt_cli:
|
||||||
name: grunt-cli
|
name: grunt-cli
|
||||||
check: grunt --version | grep -E '[.0-9]+'
|
check: grunt --version | grep -E '[0-9][.0-9]+'
|
||||||
gulp:
|
gulp:
|
||||||
name: gulp
|
name: gulp
|
||||||
check: gulp --version | grep -E '[.0-9]+'
|
check: gulp --version | grep -E '[0-9][.0-9]+'
|
||||||
jsonlint:
|
jsonlint:
|
||||||
name: jsonlint
|
name: jsonlint
|
||||||
check: jsonlint --version | grep -E '[.0-9]+'
|
check: jsonlint --version | grep -E '[0-9][.0-9]+'
|
||||||
pm2:
|
pm2:
|
||||||
name: pm2
|
name: pm2
|
||||||
check: pm2 --no-daemon --version | grep -E '[.0-9]+'
|
check: pm2 --no-daemon --version | tail -1 | grep -E '[0-9][.0-9]+'
|
||||||
mdlint:
|
mdlint:
|
||||||
name: mdlint
|
name: mdlint
|
||||||
check: mdlint --version | grep -E '[.0-9]+'
|
check: mdlint --version | grep -E '[0-9][.0-9]+'
|
||||||
sass:
|
sass:
|
||||||
name: sass
|
name: sass
|
||||||
check: sass --version | grep -E '[.0-9]+'
|
check: sass --version | grep -E '[0-9][.0-9]+'
|
||||||
stylelint:
|
stylelint:
|
||||||
name: stylelint
|
name: stylelint
|
||||||
check: stylelint --version | grep -E '[.0-9]+'
|
check: stylelint --version | grep -E '[0-9][.0-9]+'
|
||||||
vue_cli:
|
vue_cli:
|
||||||
name: "@vue/cli"
|
name: "@vue/cli"
|
||||||
check: vue --version | grep -E '[.0-9]+'
|
check: vue --version | grep -E '[0-9][.0-9]+'
|
||||||
vue_cli_service_global:
|
vue_cli_service_global:
|
||||||
name: "@vue/cli-service-global"
|
name: "@vue/cli-service-global"
|
||||||
webpack:
|
webpack:
|
||||||
name: webpack
|
name: webpack
|
||||||
webpack_cli:
|
webpack_cli:
|
||||||
name: webpack-cli
|
name: webpack-cli
|
||||||
check: webpack --version | grep -E '[.0-9]+'
|
check: webpack --version | grep -E '[0-9][.0-9]+'
|
||||||
|
|
||||||
|
|
||||||
# -------------------------------------------------------------------------------------------------
|
# -------------------------------------------------------------------------------------------------
|
||||||
@@ -344,13 +352,13 @@ npm_available:
|
|||||||
pip_available:
|
pip_available:
|
||||||
ansible:
|
ansible:
|
||||||
name: ansible
|
name: ansible
|
||||||
check: ansible --version | grep -E '^ansible [.0-9]+$'
|
check: ansible --version | grep -E '^ansible [0-9][.0-9]+$'
|
||||||
yamllint:
|
yamllint:
|
||||||
name: yamllint
|
name: yamllint
|
||||||
check: yamllint --version 2>&1 | grep -E '[.0-9]+'
|
check: yamllint --version 2>&1 | grep -E '[0-9][.0-9]+'
|
||||||
yq:
|
yq:
|
||||||
name: yq
|
name: yq
|
||||||
check: yq --version 2>&1 | grep -E '^yq\s+[.0-9]+$'
|
check: yq --version 2>&1 | grep -E '^yq\s+[0-9][.0-9]+$'
|
||||||
|
|
||||||
|
|
||||||
# -------------------------------------------------------------------------------------------------
|
# -------------------------------------------------------------------------------------------------
|
||||||
@@ -371,7 +379,7 @@ software_available:
|
|||||||
# Composer is a dependency for others
|
# Composer is a dependency for others
|
||||||
composer:
|
composer:
|
||||||
disabled: [5.2]
|
disabled: [5.2]
|
||||||
check: composer --version 2>/dev/null | grep -E 'version\s*[.0-9]+'
|
check: composer --version 2>/dev/null | grep -E 'version\s*[0-9][.0-9]+'
|
||||||
all:
|
all:
|
||||||
command: curl -sS -L --fail https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
|
command: curl -sS -L --fail https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
|
||||||
# pip is a dependency for others
|
# pip is a dependency for others
|
||||||
@@ -387,7 +395,7 @@ software_available:
|
|||||||
&& curl -sS -L --fail https://bootstrap.pypa.io/get-pip.py | python \
|
&& curl -sS -L --fail https://bootstrap.pypa.io/get-pip.py | python \
|
||||||
# nvm is a dependency for others
|
# nvm is a dependency for others
|
||||||
nvm:
|
nvm:
|
||||||
check: su -c '. /opt/nvm/nvm.sh; nvm --version' devilbox | grep -E '^[.0-9]+'
|
check: su -c '. /opt/nvm/nvm.sh; nvm --version' devilbox | grep -E '^[0-9][.0-9]+'
|
||||||
all:
|
all:
|
||||||
pre: |
|
pre: |
|
||||||
git clone https://github.com/creationix/nvm /opt/nvm \
|
git clone https://github.com/creationix/nvm /opt/nvm \
|
||||||
@@ -407,7 +415,7 @@ software_available:
|
|||||||
&& su -c '. /opt/nvm/nvm.sh; nvm install --lts' devilbox \
|
&& su -c '. /opt/nvm/nvm.sh; nvm install --lts' devilbox \
|
||||||
&& su -c '. /opt/nvm/nvm.sh; nvm use node' devilbox \
|
&& su -c '. /opt/nvm/nvm.sh; nvm use node' devilbox \
|
||||||
awesomeci:
|
awesomeci:
|
||||||
check: regex-grep --version | grep -E '[.0-9]+'
|
check: regex-grep --version | grep -E '[0-9][.0-9]+'
|
||||||
all:
|
all:
|
||||||
command: |
|
command: |
|
||||||
git clone https://github.com/cytopia/awesome-ci.git /usr/local/src/awesome-ci \
|
git clone https://github.com/cytopia/awesome-ci.git /usr/local/src/awesome-ci \
|
||||||
@@ -419,7 +427,7 @@ software_available:
|
|||||||
&& rm -rf /usr/local/src/awesome-ci \
|
&& rm -rf /usr/local/src/awesome-ci \
|
||||||
deployer:
|
deployer:
|
||||||
disabled: [5.2, 5.3]
|
disabled: [5.2, 5.3]
|
||||||
check: dep --version 2>/dev/null | grep -Ei 'deployer\s*(version\s*)?[.0-9]+'
|
check: dep --version 2>/dev/null | grep -Ei 'deployer\s*(version\s*)?[0-9][.0-9]+'
|
||||||
5.4:
|
5.4:
|
||||||
command: curl -sS -L --fail https://deployer.org/releases/v3.3.0/deployer.phar -L -o /usr/local/bin/dep
|
command: curl -sS -L --fail https://deployer.org/releases/v3.3.0/deployer.phar -L -o /usr/local/bin/dep
|
||||||
post: chmod +x /usr/local/bin/dep
|
post: chmod +x /usr/local/bin/dep
|
||||||
@@ -488,12 +496,13 @@ software_available:
|
|||||||
&& rm -rf /usr/local/src/drush9/misc \
|
&& rm -rf /usr/local/src/drush9/misc \
|
||||||
drupalconsole:
|
drupalconsole:
|
||||||
disabled: [5.2, 5.3, 5.4, 8.0] # TODO: re-enable for 8.0 (currently errors)
|
disabled: [5.2, 5.3, 5.4, 8.0] # TODO: re-enable for 8.0 (currently errors)
|
||||||
check: drupal --version | grep -E 'Drupal Console Launcher\s*[.0-9]'
|
check: drupal --version | grep -E 'Drupal Console Launcher\s*[0-9][.0-9]'
|
||||||
all:
|
all:
|
||||||
command: curl -sS -L --fail https://drupalconsole.com/installer -L -o /usr/local/bin/drupal
|
pre: DURL="https://github.com$(curl -sS 'https://github.com/hechoendrupal/drupal-console-launcher/releases' | grep -Eo 'href="/.+drupal.phar"' | head -1 | sed 's/^href="//g' | sed 's/"$//g')"
|
||||||
|
command: curl -sS -L --fail "${DURL}" -L -o /usr/local/bin/drupal
|
||||||
post: chmod +x /usr/local/bin/drupal
|
post: chmod +x /usr/local/bin/drupal
|
||||||
gitflow:
|
gitflow:
|
||||||
check: git-flow version | grep -E '[.0-9]+'
|
check: git-flow version | grep -E '[0-9][.0-9]+'
|
||||||
all:
|
all:
|
||||||
command: |
|
command: |
|
||||||
git clone git://github.com/petervanderdoes/gitflow.git /tmp/gitflow \
|
git clone git://github.com/petervanderdoes/gitflow.git /tmp/gitflow \
|
||||||
@@ -501,7 +510,7 @@ software_available:
|
|||||||
&& make install \
|
&& make install \
|
||||||
&& cd / && rm -rf /tmp/gitflow \
|
&& cd / && rm -rf /tmp/gitflow \
|
||||||
laravel:
|
laravel:
|
||||||
check: laravel --version | grep -E '(Installer|version)\s*[.0-9]+'
|
check: laravel --version | grep -E '(Installer|version)\s*[0-9][.0-9]+'
|
||||||
disabled: [5.2, 5.3, 8.0]
|
disabled: [5.2, 5.3, 8.0]
|
||||||
5.4:
|
5.4:
|
||||||
pre: |
|
pre: |
|
||||||
@@ -538,6 +547,13 @@ software_available:
|
|||||||
&& git checkout $(git tag | grep '^v2\.3\.' | sort -u | tail -1) \
|
&& git checkout $(git tag | grep '^v2\.3\.' | sort -u | tail -1) \
|
||||||
post:
|
post:
|
||||||
ln -s /usr/local/src/laravel-installer/laravel /usr/local/bin/laravel
|
ln -s /usr/local/src/laravel-installer/laravel /usr/local/bin/laravel
|
||||||
|
7.2:
|
||||||
|
pre: |
|
||||||
|
git clone https://github.com/laravel/installer /usr/local/src/laravel-installer \
|
||||||
|
&& cd /usr/local/src/laravel-installer \
|
||||||
|
&& git checkout v4.0.0 \
|
||||||
|
post:
|
||||||
|
ln -s /usr/local/src/laravel-installer/bin/laravel /usr/local/bin/laravel
|
||||||
all:
|
all:
|
||||||
pre: |
|
pre: |
|
||||||
git clone https://github.com/laravel/installer /usr/local/src/laravel-installer \
|
git clone https://github.com/laravel/installer /usr/local/src/laravel-installer \
|
||||||
@@ -550,13 +566,13 @@ software_available:
|
|||||||
post:
|
post:
|
||||||
ln -s /usr/local/src/laravel-installer/bin/laravel /usr/local/bin/laravel
|
ln -s /usr/local/src/laravel-installer/bin/laravel /usr/local/bin/laravel
|
||||||
linkcheck:
|
linkcheck:
|
||||||
check: linkcheck --version | grep -E '^linkcheck\sv[.0-9]+'
|
check: linkcheck --version | grep -E '^linkcheck\sv[0-9][.0-9]+'
|
||||||
all:
|
all:
|
||||||
command: |
|
command: |
|
||||||
curl -sS -L --fail https://raw.githubusercontent.com/cytopia/linkcheck/master/linkcheck > /usr/local/bin/linkcheck \
|
curl -sS -L --fail https://raw.githubusercontent.com/cytopia/linkcheck/master/linkcheck > /usr/local/bin/linkcheck \
|
||||||
&& chmod +x /usr/local/bin/linkcheck \
|
&& chmod +x /usr/local/bin/linkcheck \
|
||||||
linuxbrew:
|
linuxbrew:
|
||||||
check: su - ${MY_USER} -c '/usr/local/src/linuxbrew/bin/brew --version' | grep -E 'Homebrew\s*[.0-9]+'
|
check: su - ${MY_USER} -c '/usr/local/src/linuxbrew/bin/brew --version' | grep -E 'Homebrew\s*[0-9][.0-9]+'
|
||||||
all:
|
all:
|
||||||
command: |
|
command: |
|
||||||
git clone https://github.com/Linuxbrew/brew.git /usr/local/src/linuxbrew \
|
git clone https://github.com/Linuxbrew/brew.git /usr/local/src/linuxbrew \
|
||||||
@@ -575,7 +591,7 @@ software_available:
|
|||||||
&& chmod +x mhsendmail_linux_amd64 \
|
&& chmod +x mhsendmail_linux_amd64 \
|
||||||
&& mv mhsendmail_linux_amd64 /usr/local/bin/mhsendmail \
|
&& mv mhsendmail_linux_amd64 /usr/local/bin/mhsendmail \
|
||||||
mysqldumpsecure:
|
mysqldumpsecure:
|
||||||
check: mysqldump-secure --version | grep -E 'Version:\s*[.0-9]+'
|
check: mysqldump-secure --version | grep -E 'Version:\s*[0-9][.0-9]+'
|
||||||
all:
|
all:
|
||||||
command: |
|
command: |
|
||||||
git clone https://github.com/cytopia/mysqldump-secure.git /usr/local/src/mysqldump-secure \
|
git clone https://github.com/cytopia/mysqldump-secure.git /usr/local/src/mysqldump-secure \
|
||||||
@@ -600,7 +616,7 @@ software_available:
|
|||||||
&& rm -rf /usr/local/src/mysqldump-secure \
|
&& rm -rf /usr/local/src/mysqldump-secure \
|
||||||
phalcon:
|
phalcon:
|
||||||
disabled: [5.2, 8.0]
|
disabled: [5.2, 8.0]
|
||||||
check: phalcon commands | grep -E '[.0-9]+'
|
check: phalcon commands | grep -E '[0-9][.0-9]+'
|
||||||
5.3:
|
5.3:
|
||||||
pre: |
|
pre: |
|
||||||
git clone https://github.com/phalcon/phalcon-devtools /usr/local/src/phalcon-devtools \
|
git clone https://github.com/phalcon/phalcon-devtools /usr/local/src/phalcon-devtools \
|
||||||
@@ -685,7 +701,7 @@ software_available:
|
|||||||
&& cd / \
|
&& cd / \
|
||||||
&& rm -rf /usr/local/src/phalcon-devtools/.git \
|
&& rm -rf /usr/local/src/phalcon-devtools/.git \
|
||||||
phpcs:
|
phpcs:
|
||||||
check: phpcs --version | grep -E 'version [.0-9]+'
|
check: phpcs --version | grep -E 'version [0-9][.0-9]+'
|
||||||
5.2:
|
5.2:
|
||||||
command: |
|
command: |
|
||||||
curl -sS -L --fail https://github.com/squizlabs/PHP_CodeSniffer/releases/download/2.9.0/phpcs.phar > /usr/local/bin/phpcs 2>/dev/null \
|
curl -sS -L --fail https://github.com/squizlabs/PHP_CodeSniffer/releases/download/2.9.0/phpcs.phar > /usr/local/bin/phpcs 2>/dev/null \
|
||||||
@@ -699,7 +715,7 @@ software_available:
|
|||||||
curl -sS -L --fail https://squizlabs.github.io/PHP_CodeSniffer/phpcs.phar > /usr/local/bin/phpcs 2>/dev/null \
|
curl -sS -L --fail https://squizlabs.github.io/PHP_CodeSniffer/phpcs.phar > /usr/local/bin/phpcs 2>/dev/null \
|
||||||
&& chmod +x /usr/local/bin/phpcs \
|
&& chmod +x /usr/local/bin/phpcs \
|
||||||
phpcbf:
|
phpcbf:
|
||||||
check: phpcbf --version | grep -E 'version [.0-9]+'
|
check: phpcbf --version | grep -E 'version [0-9][.0-9]+'
|
||||||
5.2:
|
5.2:
|
||||||
command: |
|
command: |
|
||||||
curl -sS -L --fail https://github.com/squizlabs/PHP_CodeSniffer/releases/download/2.9.0/phpcbf.phar > /usr/local/bin/phpcbf 2>/dev/null \
|
curl -sS -L --fail https://github.com/squizlabs/PHP_CodeSniffer/releases/download/2.9.0/phpcbf.phar > /usr/local/bin/phpcbf 2>/dev/null \
|
||||||
@@ -733,7 +749,7 @@ software_available:
|
|||||||
&& chmod +x /usr/local/bin/php-cs-fixer \
|
&& chmod +x /usr/local/bin/php-cs-fixer \
|
||||||
phpmd:
|
phpmd:
|
||||||
disabled: [5.2]
|
disabled: [5.2]
|
||||||
check: phpmd --version | grep -E '^PHPMD [.0-9]+'
|
check: phpmd --version | grep -E '^PHPMD [0-9][.0-9]+'
|
||||||
all:
|
all:
|
||||||
command: |
|
command: |
|
||||||
curl -sS -L --fail https://phpmd.org/static/latest/phpmd.phar > phpmd.phar \
|
curl -sS -L --fail https://phpmd.org/static/latest/phpmd.phar > phpmd.phar \
|
||||||
@@ -741,7 +757,7 @@ software_available:
|
|||||||
&& chmod +x /usr/local/bin/phpmd \
|
&& chmod +x /usr/local/bin/phpmd \
|
||||||
phpunit:
|
phpunit:
|
||||||
disabled: [5.2, 8.0]
|
disabled: [5.2, 8.0]
|
||||||
check: phpunit --version | grep -iE '^PHPUnit\s[.0-9]+'
|
check: phpunit --version | grep -iE '^PHPUnit\s[0-9][.0-9]+'
|
||||||
5.3:
|
5.3:
|
||||||
command: |
|
command: |
|
||||||
curl -sS -L --fail https://phar.phpunit.de/phpunit-4.phar > /usr/local/bin/phpunit 2>/dev/null \
|
curl -sS -L --fail https://phar.phpunit.de/phpunit-4.phar > /usr/local/bin/phpunit 2>/dev/null \
|
||||||
@@ -768,13 +784,13 @@ software_available:
|
|||||||
&& chmod +x /usr/local/bin/phpunit \
|
&& chmod +x /usr/local/bin/phpunit \
|
||||||
symfony:
|
symfony:
|
||||||
disabled: [5.2, 5.3]
|
disabled: [5.2, 5.3]
|
||||||
check: symfony -V | grep -Ei 'version\s*.*v[.0-9]+'
|
check: symfony -V | grep -Ei 'version\s*.*v[0-9][.0-9]+'
|
||||||
all:
|
all:
|
||||||
pre: SYMFONY_VERSION="$( curl -sS -L --fail https://get.symfony.com/cli/LATEST )"
|
pre: SYMFONY_VERSION="$( curl -sS -L --fail https://get.symfony.com/cli/LATEST )"
|
||||||
command: curl -sS -L --fail "https://github.com/symfony/cli/releases/download/v${SYMFONY_VERSION}/symfony_linux_amd64" > /usr/local/bin/symfony
|
command: curl -sS -L --fail "https://github.com/symfony/cli/releases/download/v${SYMFONY_VERSION}/symfony_linux_amd64" > /usr/local/bin/symfony
|
||||||
post: chmod +x /usr/local/bin/symfony
|
post: chmod +x /usr/local/bin/symfony
|
||||||
wkhtmltopdf:
|
wkhtmltopdf:
|
||||||
check: wkhtmltopdf --version | grep -E "^wkhtmltopdf [.0-9]+\s+\(.+patched.+\)"
|
check: wkhtmltopdf --version | grep -E "^wkhtmltopdf [0-9][.0-9]+\s+\(.+patched.+\)"
|
||||||
5.2:
|
5.2:
|
||||||
pre: VERSION="$( curl -sSL -L --fail https://github.com/wkhtmltopdf/wkhtmltopdf/releases | grep -Eo '/wkhtmltopdf/.+jessie_amd64\.deb' | head -1 )"
|
pre: VERSION="$( curl -sSL -L --fail https://github.com/wkhtmltopdf/wkhtmltopdf/releases | grep -Eo '/wkhtmltopdf/.+jessie_amd64\.deb' | head -1 )"
|
||||||
5.3:
|
5.3:
|
||||||
@@ -837,7 +853,7 @@ software_available:
|
|||||||
&& rm -rf /var/lib/apt/lists/* \
|
&& rm -rf /var/lib/apt/lists/* \
|
||||||
wpcli:
|
wpcli:
|
||||||
disabled: [5.2]
|
disabled: [5.2]
|
||||||
check: wp --allow-root --version | grep -E '[.0-9]+'
|
check: wp --allow-root --version | grep -E '[0-9][.0-9]+'
|
||||||
5.3:
|
5.3:
|
||||||
command: curl -sS -L --fail https://github.com/wp-cli/wp-cli/releases/download/v1.5.1/wp-cli-1.5.1.phar -L -o /usr/local/bin/wp
|
command: curl -sS -L --fail https://github.com/wp-cli/wp-cli/releases/download/v1.5.1/wp-cli-1.5.1.phar -L -o /usr/local/bin/wp
|
||||||
post: chmod +x /usr/local/bin/wp
|
post: chmod +x /usr/local/bin/wp
|
||||||
|
|||||||
BIN
tests/mods/modules/imagick/dummy.pdf
Normal file
BIN
tests/mods/modules/imagick/dummy.pdf
Normal file
Binary file not shown.
@@ -9,8 +9,8 @@ error_reporting(-1);
|
|||||||
|
|
||||||
$PHP_VERSION = str_replace('-dev', '', PHP_VERSION);
|
$PHP_VERSION = str_replace('-dev', '', PHP_VERSION);
|
||||||
|
|
||||||
// Only available since 5.3.0 (PHP 5.3, 5.4 and 5.5 segfaults)
|
// Only available since 5.3.0 (PHP 5.3 and 5.4 segfaults)
|
||||||
if (version_compare($PHP_VERSION, '5.6.0', '<')) {
|
if (version_compare($PHP_VERSION, '5.5.0', '<')) {
|
||||||
echo 'SKIP';
|
echo 'SKIP';
|
||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
|
|||||||
32
tests/mods/modules/imagick/imagick-pdf.php
Normal file
32
tests/mods/modules/imagick/imagick-pdf.php
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* This page should print 'OK' if everything works,
|
||||||
|
* 'FAIL' or nothing if an error occured.
|
||||||
|
*/
|
||||||
|
ini_set('display_startup_errors', 1);
|
||||||
|
ini_set('display_errors', 1);
|
||||||
|
error_reporting(-1);
|
||||||
|
|
||||||
|
$PHP_VERSION = str_replace('-dev', '', PHP_VERSION);
|
||||||
|
|
||||||
|
// Only available since 5.3.0 (PHP 5.3 and 5.4 segfaults)
|
||||||
|
if (version_compare($PHP_VERSION, '5.5.0', '<')) {
|
||||||
|
echo 'SKIP';
|
||||||
|
exit(0);
|
||||||
|
}
|
||||||
|
// FIXME: Currently not supported on PHP 8
|
||||||
|
if (version_compare($PHP_VERSION, '8.0.0', '>=')) {
|
||||||
|
echo 'SKIP';
|
||||||
|
exit(0);
|
||||||
|
}
|
||||||
|
|
||||||
|
$dir = realpath(dirname(__FILE__));
|
||||||
|
$file = $dir . DIRECTORY_SEPARATOR . 'dummy.pdf';
|
||||||
|
|
||||||
|
$img = new Imagick();
|
||||||
|
|
||||||
|
if ($img->readImage($file) !== True) {
|
||||||
|
echo 'FAIL: newImage()';
|
||||||
|
exit(1);
|
||||||
|
}
|
||||||
|
echo 'OK';
|
||||||
@@ -9,8 +9,8 @@ error_reporting(-1);
|
|||||||
|
|
||||||
$PHP_VERSION = str_replace('-dev', '', PHP_VERSION);
|
$PHP_VERSION = str_replace('-dev', '', PHP_VERSION);
|
||||||
|
|
||||||
// Only available since 5.3.0 (PHP 5.3, 5.4 and 5.5 segfaults)
|
// Only available since 5.3.0 (PHP 5.3 and 5.4 segfaults)
|
||||||
if (version_compare($PHP_VERSION, '5.6.0', '<')) {
|
if (version_compare($PHP_VERSION, '5.5.0', '<')) {
|
||||||
echo 'SKIP';
|
echo 'SKIP';
|
||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user