mirror of
https://github.com/devilbox/docker-php-fpm.git
synced 2025-12-20 07:51:14 +00:00
Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
409cd5afc9 | ||
|
|
599fd786d7 | ||
|
|
90ecbd62a3 | ||
|
|
1201ee4135 | ||
|
|
a128aa33c0 | ||
|
|
847ea4e6a1 | ||
|
|
1be3fa70f2 |
32
.travis.yml
32
.travis.yml
@@ -99,30 +99,30 @@ script:
|
|||||||
echo "${DOCKER_PASSWORD}" | docker login --username "${DOCKER_USERNAME}" --password-stdin &&
|
echo "${DOCKER_PASSWORD}" | docker login --username "${DOCKER_USERNAME}" --password-stdin &&
|
||||||
if [ "${TRAVIS_BRANCH}" == "master" ]; then
|
if [ "${TRAVIS_BRANCH}" == "master" ]; then
|
||||||
echo "Pushing latest";
|
echo "Pushing latest";
|
||||||
docker push "${IMAGE}:${PHP}-base";
|
until docker push "${IMAGE}:${PHP}-base"; do sleep 1; done;
|
||||||
docker push "${IMAGE}:${PHP}-mods";
|
until docker push "${IMAGE}:${PHP}-mods"; do sleep 1; done;
|
||||||
docker push "${IMAGE}:${PHP}-prod";
|
until docker push "${IMAGE}:${PHP}-prod"; do sleep 1; done;
|
||||||
docker push "${IMAGE}:${PHP}-work";
|
until docker push "${IMAGE}:${PHP}-work"; do sleep 1; done;
|
||||||
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}" &&
|
docker tag "${IMAGE}:${PHP}-base" "${IMAGE}:${PHP}-base-${TRAVIS_BRANCH}" &&
|
||||||
docker tag "${IMAGE}:${PHP}-mods" "${IMAGE}:${PHP}-mods-${TRAVIS_BRANCH}" &&
|
docker tag "${IMAGE}:${PHP}-mods" "${IMAGE}:${PHP}-mods-${TRAVIS_BRANCH}" &&
|
||||||
docker tag "${IMAGE}:${PHP}-prod" "${IMAGE}:${PHP}-prod-${TRAVIS_BRANCH}" &&
|
docker tag "${IMAGE}:${PHP}-prod" "${IMAGE}:${PHP}-prod-${TRAVIS_BRANCH}" &&
|
||||||
docker tag "${IMAGE}:${PHP}-work" "${IMAGE}:${PHP}-work-${TRAVIS_BRANCH}" &&
|
docker tag "${IMAGE}:${PHP}-work" "${IMAGE}:${PHP}-work-${TRAVIS_BRANCH}" &&
|
||||||
docker push "${IMAGE}:${PHP}-base-${TRAVIS_BRANCH}";
|
until docker push "${IMAGE}:${PHP}-base-${TRAVIS_BRANCH}"; do sleep 1; done;
|
||||||
docker push "${IMAGE}:${PHP}-mods-${TRAVIS_BRANCH}";
|
until docker push "${IMAGE}:${PHP}-mods-${TRAVIS_BRANCH}"; do sleep 1; done;
|
||||||
docker push "${IMAGE}:${PHP}-prod-${TRAVIS_BRANCH}";
|
until docker push "${IMAGE}:${PHP}-prod-${TRAVIS_BRANCH}"; do sleep 1; done;
|
||||||
docker push "${IMAGE}:${PHP}-work-${TRAVIS_BRANCH}";
|
until docker push "${IMAGE}:${PHP}-work-${TRAVIS_BRANCH}"; do sleep 1; done;
|
||||||
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}" &&
|
docker tag "${IMAGE}:${PHP}-base" "${IMAGE}:${PHP}-base-${TRAVIS_TAG}" &&
|
||||||
docker tag "${IMAGE}:${PHP}-mods" "${IMAGE}:${PHP}-mods-${TRAVIS_TAG}" &&
|
docker tag "${IMAGE}:${PHP}-mods" "${IMAGE}:${PHP}-mods-${TRAVIS_TAG}" &&
|
||||||
docker tag "${IMAGE}:${PHP}-prod" "${IMAGE}:${PHP}-prod-${TRAVIS_TAG}" &&
|
docker tag "${IMAGE}:${PHP}-prod" "${IMAGE}:${PHP}-prod-${TRAVIS_TAG}" &&
|
||||||
docker tag "${IMAGE}:${PHP}-work" "${IMAGE}:${PHP}-work-${TRAVIS_TAG}" &&
|
docker tag "${IMAGE}:${PHP}-work" "${IMAGE}:${PHP}-work-${TRAVIS_TAG}" &&
|
||||||
docker push "${IMAGE}:${PHP}-base-${TRAVIS_TAG}";
|
until docker push "${IMAGE}:${PHP}-base-${TRAVIS_TAG}"; do sleep 1; done;
|
||||||
docker push "${IMAGE}:${PHP}-mods-${TRAVIS_TAG}";
|
until docker push "${IMAGE}:${PHP}-mods-${TRAVIS_TAG}"; do sleep 1; done;
|
||||||
docker push "${IMAGE}:${PHP}-prod-${TRAVIS_TAG}";
|
until docker push "${IMAGE}:${PHP}-prod-${TRAVIS_TAG}"; do sleep 1; done;
|
||||||
docker push "${IMAGE}:${PHP}-work-${TRAVIS_TAG}";
|
until docker push "${IMAGE}:${PHP}-work-${TRAVIS_TAG}"; do sleep 1; done;
|
||||||
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}";
|
||||||
@@ -130,10 +130,10 @@ script:
|
|||||||
docker tag "${IMAGE}:${PHP}-mods" "${IMAGE}:${PHP}-mods-${MY_TAG}" &&
|
docker tag "${IMAGE}:${PHP}-mods" "${IMAGE}:${PHP}-mods-${MY_TAG}" &&
|
||||||
docker tag "${IMAGE}:${PHP}-prod" "${IMAGE}:${PHP}-prod-${MY_TAG}" &&
|
docker tag "${IMAGE}:${PHP}-prod" "${IMAGE}:${PHP}-prod-${MY_TAG}" &&
|
||||||
docker tag "${IMAGE}:${PHP}-work" "${IMAGE}:${PHP}-work-${MY_TAG}" &&
|
docker tag "${IMAGE}:${PHP}-work" "${IMAGE}:${PHP}-work-${MY_TAG}" &&
|
||||||
docker push "${IMAGE}:${PHP}-base-${MY_TAG}";
|
until docker push "${IMAGE}:${PHP}-base-${MY_TAG}"; do sleep 1; done;
|
||||||
docker push "${IMAGE}:${PHP}-mods-${MY_TAG}";
|
until docker push "${IMAGE}:${PHP}-mods-${MY_TAG}"; do sleep 1; done;
|
||||||
docker push "${IMAGE}:${PHP}-prod-${MY_TAG}";
|
until docker push "${IMAGE}:${PHP}-prod-${MY_TAG}"; do sleep 1; done;
|
||||||
docker push "${IMAGE}:${PHP}-work-${MY_TAG}";
|
until docker push "${IMAGE}:${PHP}-work-${MY_TAG}"; do sleep 1; done;
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
echo "Skipping push to dockerhub on normal branches";
|
echo "Skipping push to dockerhub on normal branches";
|
||||||
|
|||||||
@@ -24,8 +24,6 @@ ENV BUILD_DEPS \
|
|||||||
freetds-dev \
|
freetds-dev \
|
||||||
libaio-dev \
|
libaio-dev \
|
||||||
libbz2-dev \
|
libbz2-dev \
|
||||||
libc-client-dev \
|
|
||||||
libcurl4-openssl-dev \
|
|
||||||
libenchant-dev \
|
libenchant-dev \
|
||||||
libevent-dev \
|
libevent-dev \
|
||||||
libfbclient2 \
|
libfbclient2 \
|
||||||
@@ -36,7 +34,6 @@ ENV BUILD_DEPS \
|
|||||||
libib-util \
|
libib-util \
|
||||||
libicu-dev \
|
libicu-dev \
|
||||||
libjpeg-dev \
|
libjpeg-dev \
|
||||||
libkrb5-dev \
|
|
||||||
libldap2-dev \
|
libldap2-dev \
|
||||||
libmemcached-dev \
|
libmemcached-dev \
|
||||||
libnghttp2-dev \
|
libnghttp2-dev \
|
||||||
@@ -63,7 +60,6 @@ ENV BUILD_DEPS \
|
|||||||
ENV RUN_DEPS \
|
ENV RUN_DEPS \
|
||||||
libaio1 \
|
libaio1 \
|
||||||
libaspell15 \
|
libaspell15 \
|
||||||
libc-client2007e \
|
|
||||||
libenchant1c2a \
|
libenchant1c2a \
|
||||||
libfbclient2 \
|
libfbclient2 \
|
||||||
libffi6 \
|
libffi6 \
|
||||||
@@ -166,13 +162,6 @@ RUN set -x \
|
|||||||
&& (rm -rf /usr/local/lib/php/test/igbinary || true) \
|
&& (rm -rf /usr/local/lib/php/test/igbinary || true) \
|
||||||
&& (rm -rf /usr/local/lib/php/doc/igbinary || true) \
|
&& (rm -rf /usr/local/lib/php/doc/igbinary || true) \
|
||||||
\
|
\
|
||||||
# ---- Installing PHP Extension: imap ----
|
|
||||||
&& ln -s /usr/lib/x86_64-linux-gnu/libkrb5* /usr/lib/ \
|
|
||||||
&& /usr/local/bin/docker-php-ext-configure imap --with-kerberos --with-imap-ssl --with-imap \
|
|
||||||
&& /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) imap \
|
|
||||||
&& (rm -rf /usr/local/lib/php/test/imap || true) \
|
|
||||||
&& (rm -rf /usr/local/lib/php/doc/imap || true) \
|
|
||||||
\
|
|
||||||
# ---- Installing PHP Extension: interbase ----
|
# ---- Installing PHP Extension: interbase ----
|
||||||
&& /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) interbase \
|
&& /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) interbase \
|
||||||
&& (rm -rf /usr/local/lib/php/test/interbase || true) \
|
&& (rm -rf /usr/local/lib/php/test/interbase || true) \
|
||||||
@@ -480,8 +469,6 @@ RUN set -x \
|
|||||||
&& 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 '^imap$' \
|
|
||||||
&& php-fpm -m | grep -oiE '^imap$' \
|
|
||||||
&& php -m | grep -oiE '^interbase$' \
|
&& php -m | grep -oiE '^interbase$' \
|
||||||
&& php-fpm -m | grep -oiE '^interbase$' \
|
&& php-fpm -m | grep -oiE '^interbase$' \
|
||||||
&& php -m | grep -oiE '^intl$' \
|
&& php -m | grep -oiE '^intl$' \
|
||||||
|
|||||||
@@ -154,7 +154,7 @@ RUN set -x \
|
|||||||
&& ln -s /usr/local/src/composer/vendor/codeception/codeception/codecept /usr/local/bin/codecept \
|
&& ln -s /usr/local/src/composer/vendor/codeception/codeception/codecept /usr/local/bin/codecept \
|
||||||
\
|
\
|
||||||
# deployer
|
# deployer
|
||||||
&& curl https://deployer.org/deployer.phar -L -o /usr/local/bin/dep \
|
&& curl -sS https://deployer.org/releases/v3.3.0/deployer.phar -L -o /usr/local/bin/dep \
|
||||||
&& chmod +x /usr/local/bin/dep \
|
&& chmod +x /usr/local/bin/dep \
|
||||||
# drush7
|
# drush7
|
||||||
&& git clone https://github.com/drush-ops/drush.git /usr/local/src/drush7 \
|
&& git clone https://github.com/drush-ops/drush.git /usr/local/src/drush7 \
|
||||||
@@ -376,7 +376,7 @@ RUN set -x \
|
|||||||
&& gulp --version | grep -E '[.0-9]+' \
|
&& gulp --version | grep -E '[.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]+$' \
|
||||||
&& dep --version 2>/dev/null | grep -E 'Deployer\s*[.0-9]+' \
|
&& dep --version 2>/dev/null | grep -Ei 'deployer\s*(version\s*)?[.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]+' \
|
||||||
|
|||||||
@@ -158,7 +158,7 @@ RUN set -x \
|
|||||||
&& ln -s /usr/local/src/composer/vendor/codeception/codeception/codecept /usr/local/bin/codecept \
|
&& ln -s /usr/local/src/composer/vendor/codeception/codeception/codecept /usr/local/bin/codecept \
|
||||||
\
|
\
|
||||||
# deployer
|
# deployer
|
||||||
&& curl https://deployer.org/deployer.phar -L -o /usr/local/bin/dep \
|
&& curl -sS https://deployer.org/releases/v4.3.4/deployer.phar -L -o /usr/local/bin/dep \
|
||||||
&& chmod +x /usr/local/bin/dep \
|
&& chmod +x /usr/local/bin/dep \
|
||||||
# drush7
|
# drush7
|
||||||
&& git clone https://github.com/drush-ops/drush.git /usr/local/src/drush7 \
|
&& git clone https://github.com/drush-ops/drush.git /usr/local/src/drush7 \
|
||||||
@@ -388,7 +388,7 @@ RUN set -x \
|
|||||||
&& gulp --version | grep -E '[.0-9]+' \
|
&& gulp --version | grep -E '[.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]+$' \
|
||||||
&& dep --version 2>/dev/null | grep -E 'Deployer\s*[.0-9]+' \
|
&& dep --version 2>/dev/null | grep -Ei 'deployer\s*(version\s*)?[.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]' \
|
||||||
|
|||||||
@@ -158,7 +158,7 @@ RUN set -x \
|
|||||||
&& ln -s /usr/local/src/composer/vendor/codeception/codeception/codecept /usr/local/bin/codecept \
|
&& ln -s /usr/local/src/composer/vendor/codeception/codeception/codecept /usr/local/bin/codecept \
|
||||||
\
|
\
|
||||||
# deployer
|
# deployer
|
||||||
&& curl https://deployer.org/deployer.phar -L -o /usr/local/bin/dep \
|
&& curl -sS https://deployer.org/releases/v4.3.4/deployer.phar -L -o /usr/local/bin/dep \
|
||||||
&& chmod +x /usr/local/bin/dep \
|
&& chmod +x /usr/local/bin/dep \
|
||||||
# drush7
|
# drush7
|
||||||
&& git clone https://github.com/drush-ops/drush.git /usr/local/src/drush7 \
|
&& git clone https://github.com/drush-ops/drush.git /usr/local/src/drush7 \
|
||||||
@@ -401,7 +401,7 @@ RUN set -x \
|
|||||||
&& gulp --version | grep -E '[.0-9]+' \
|
&& gulp --version | grep -E '[.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]+$' \
|
||||||
&& dep --version 2>/dev/null | grep -E 'Deployer\s*[.0-9]+' \
|
&& dep --version 2>/dev/null | grep -Ei 'deployer\s*(version\s*)?[.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*$' \
|
||||||
|
|||||||
@@ -158,7 +158,7 @@ RUN set -x \
|
|||||||
&& ln -s /usr/local/src/composer/vendor/codeception/codeception/codecept /usr/local/bin/codecept \
|
&& ln -s /usr/local/src/composer/vendor/codeception/codeception/codecept /usr/local/bin/codecept \
|
||||||
\
|
\
|
||||||
# deployer
|
# deployer
|
||||||
&& curl https://deployer.org/deployer.phar -L -o /usr/local/bin/dep \
|
&& curl -sS https://deployer.org/deployer.phar -L -o /usr/local/bin/dep \
|
||||||
&& chmod +x /usr/local/bin/dep \
|
&& chmod +x /usr/local/bin/dep \
|
||||||
# drush7
|
# drush7
|
||||||
&& git clone https://github.com/drush-ops/drush.git /usr/local/src/drush7 \
|
&& git clone https://github.com/drush-ops/drush.git /usr/local/src/drush7 \
|
||||||
@@ -401,7 +401,7 @@ RUN set -x \
|
|||||||
&& gulp --version | grep -E '[.0-9]+' \
|
&& gulp --version | grep -E '[.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]+$' \
|
||||||
&& dep --version 2>/dev/null | grep -E 'Deployer\s*[.0-9]+' \
|
&& dep --version 2>/dev/null | grep -Ei 'deployer\s*(version\s*)?[.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*$' \
|
||||||
|
|||||||
@@ -158,7 +158,7 @@ RUN set -x \
|
|||||||
&& ln -s /usr/local/src/composer/vendor/codeception/codeception/codecept /usr/local/bin/codecept \
|
&& ln -s /usr/local/src/composer/vendor/codeception/codeception/codecept /usr/local/bin/codecept \
|
||||||
\
|
\
|
||||||
# deployer
|
# deployer
|
||||||
&& curl https://deployer.org/deployer.phar -L -o /usr/local/bin/dep \
|
&& curl -sS https://deployer.org/deployer.phar -L -o /usr/local/bin/dep \
|
||||||
&& chmod +x /usr/local/bin/dep \
|
&& chmod +x /usr/local/bin/dep \
|
||||||
# drush7
|
# drush7
|
||||||
&& git clone https://github.com/drush-ops/drush.git /usr/local/src/drush7 \
|
&& git clone https://github.com/drush-ops/drush.git /usr/local/src/drush7 \
|
||||||
@@ -401,7 +401,7 @@ RUN set -x \
|
|||||||
&& gulp --version | grep -E '[.0-9]+' \
|
&& gulp --version | grep -E '[.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]+$' \
|
||||||
&& dep --version 2>/dev/null | grep -E 'Deployer\s*[.0-9]+' \
|
&& dep --version 2>/dev/null | grep -Ei 'deployer\s*(version\s*)?[.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*$' \
|
||||||
|
|||||||
@@ -158,7 +158,7 @@ RUN set -x \
|
|||||||
&& ln -s /usr/local/src/composer/vendor/codeception/codeception/codecept /usr/local/bin/codecept \
|
&& ln -s /usr/local/src/composer/vendor/codeception/codeception/codecept /usr/local/bin/codecept \
|
||||||
\
|
\
|
||||||
# deployer
|
# deployer
|
||||||
&& curl https://deployer.org/deployer.phar -L -o /usr/local/bin/dep \
|
&& curl -sS https://deployer.org/deployer.phar -L -o /usr/local/bin/dep \
|
||||||
&& chmod +x /usr/local/bin/dep \
|
&& chmod +x /usr/local/bin/dep \
|
||||||
# drush7
|
# drush7
|
||||||
&& git clone https://github.com/drush-ops/drush.git /usr/local/src/drush7 \
|
&& git clone https://github.com/drush-ops/drush.git /usr/local/src/drush7 \
|
||||||
@@ -401,7 +401,7 @@ RUN set -x \
|
|||||||
&& gulp --version | grep -E '[.0-9]+' \
|
&& gulp --version | grep -E '[.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]+$' \
|
||||||
&& dep --version 2>/dev/null | grep -E 'Deployer\s*[.0-9]+' \
|
&& dep --version 2>/dev/null | grep -Ei 'deployer\s*(version\s*)?[.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*$' \
|
||||||
|
|||||||
@@ -158,7 +158,7 @@ RUN set -x \
|
|||||||
&& ln -s /usr/local/src/composer/vendor/codeception/codeception/codecept /usr/local/bin/codecept \
|
&& ln -s /usr/local/src/composer/vendor/codeception/codeception/codecept /usr/local/bin/codecept \
|
||||||
\
|
\
|
||||||
# deployer
|
# deployer
|
||||||
&& curl https://deployer.org/deployer.phar -L -o /usr/local/bin/dep \
|
&& curl -sS https://deployer.org/deployer.phar -L -o /usr/local/bin/dep \
|
||||||
&& chmod +x /usr/local/bin/dep \
|
&& chmod +x /usr/local/bin/dep \
|
||||||
# drush7
|
# drush7
|
||||||
&& git clone https://github.com/drush-ops/drush.git /usr/local/src/drush7 \
|
&& git clone https://github.com/drush-ops/drush.git /usr/local/src/drush7 \
|
||||||
@@ -390,7 +390,7 @@ RUN set -x \
|
|||||||
&& gulp --version | grep -E '[.0-9]+' \
|
&& gulp --version | grep -E '[.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]+$' \
|
||||||
&& dep --version 2>/dev/null | grep -E 'Deployer\s*[.0-9]+' \
|
&& dep --version 2>/dev/null | grep -Ei 'deployer\s*(version\s*)?[.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*$' \
|
||||||
|
|||||||
@@ -158,7 +158,7 @@ RUN set -x \
|
|||||||
&& ln -s /usr/local/src/composer/vendor/codeception/codeception/codecept /usr/local/bin/codecept \
|
&& ln -s /usr/local/src/composer/vendor/codeception/codeception/codecept /usr/local/bin/codecept \
|
||||||
\
|
\
|
||||||
# deployer
|
# deployer
|
||||||
&& curl https://deployer.org/deployer.phar -L -o /usr/local/bin/dep \
|
&& curl -sS https://deployer.org/deployer.phar -L -o /usr/local/bin/dep \
|
||||||
&& chmod +x /usr/local/bin/dep \
|
&& chmod +x /usr/local/bin/dep \
|
||||||
# drush7
|
# drush7
|
||||||
&& git clone https://github.com/drush-ops/drush.git /usr/local/src/drush7 \
|
&& git clone https://github.com/drush-ops/drush.git /usr/local/src/drush7 \
|
||||||
@@ -386,7 +386,7 @@ RUN set -x \
|
|||||||
&& gulp --version | grep -E '[.0-9]+' \
|
&& gulp --version | grep -E '[.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]+$' \
|
||||||
&& dep --version 2>/dev/null | grep -E 'Deployer\s*[.0-9]+' \
|
&& dep --version 2>/dev/null | grep -Ei 'deployer\s*(version\s*)?[.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*$' \
|
||||||
|
|||||||
@@ -571,7 +571,7 @@ 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">bcmath, bz2, calendar, Core, ctype, curl, date, dba, dom, enchant, exif, FFI, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, igbinary, imap, interbase, 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, rdkafka, readline, recode, redis, Reflection, session, shmop, SimpleXML, snmp, soap, sockets, sodium, SPL, sqlite3, standard, swoole, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, uploadprogress, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend OPcache, zip, zlib</td>
|
<td id="74-mods">bcmath, bz2, calendar, Core, ctype, curl, date, dba, dom, enchant, exif, FFI, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, igbinary, interbase, 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, rdkafka, readline, recode, redis, Reflection, session, shmop, SimpleXML, snmp, soap, sockets, sodium, SPL, sqlite3, standard, swoole, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, uploadprogress, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend OPcache, zip, zlib</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|||||||
@@ -354,9 +354,18 @@ software_available:
|
|||||||
command: curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
|
command: curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
|
||||||
deployer:
|
deployer:
|
||||||
disabled: [5.2, 5.3]
|
disabled: [5.2, 5.3]
|
||||||
check: dep --version 2>/dev/null | grep -E 'Deployer\s*[.0-9]+'
|
check: dep --version 2>/dev/null | grep -Ei 'deployer\s*(version\s*)?[.0-9]+'
|
||||||
|
5.4:
|
||||||
|
command: curl -sS https://deployer.org/releases/v3.3.0/deployer.phar -L -o /usr/local/bin/dep
|
||||||
|
post: chmod +x /usr/local/bin/dep
|
||||||
|
5.5:
|
||||||
|
command: curl -sS https://deployer.org/releases/v4.3.4/deployer.phar -L -o /usr/local/bin/dep
|
||||||
|
post: chmod +x /usr/local/bin/dep
|
||||||
|
5.6:
|
||||||
|
command: curl -sS https://deployer.org/releases/v4.3.4/deployer.phar -L -o /usr/local/bin/dep
|
||||||
|
post: chmod +x /usr/local/bin/dep
|
||||||
all:
|
all:
|
||||||
command: curl https://deployer.org/deployer.phar -L -o /usr/local/bin/dep
|
command: curl -sS https://deployer.org/deployer.phar -L -o /usr/local/bin/dep
|
||||||
post: chmod +x /usr/local/bin/dep
|
post: chmod +x /usr/local/bin/dep
|
||||||
drush7:
|
drush7:
|
||||||
disabled: [5.2]
|
disabled: [5.2]
|
||||||
@@ -1017,6 +1026,8 @@ extensions_available:
|
|||||||
build_dep: [libmagickwand-dev]
|
build_dep: [libmagickwand-dev]
|
||||||
run_dep: [libmagickwand-6.q16-3]
|
run_dep: [libmagickwand-6.q16-3]
|
||||||
imap:
|
imap:
|
||||||
|
disabled: [7.4] # 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/
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ chmod 0777 "${DOC_ROOT_HOST}"
|
|||||||
chmod 0644 "${DOC_ROOT_HOST}/index.php"
|
chmod 0644 "${DOC_ROOT_HOST}/index.php"
|
||||||
|
|
||||||
# Pull Image
|
# Pull Image
|
||||||
run "while ! docker pull ${CONTAINER}; do sleep 1; done"
|
run "until docker pull ${CONTAINER}; do sleep 1; done"
|
||||||
|
|
||||||
# Start PHP-FPM
|
# Start PHP-FPM
|
||||||
did="$( docker_run "${IMAGE}:${VERSION}-${FLAVOUR}" "-e DEBUG_ENTRYPOINT=2 -e NEW_UID=$(id -u) -e NEW_GID=$(id -g) -v ${DOC_ROOT_HOST}:${DOC_ROOT_CONT}" )"
|
did="$( docker_run "${IMAGE}:${VERSION}-${FLAVOUR}" "-e DEBUG_ENTRYPOINT=2 -e NEW_UID=$(id -u) -e NEW_GID=$(id -g) -v ${DOC_ROOT_HOST}:${DOC_ROOT_CONT}" )"
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ FLAVOUR="${3}"
|
|||||||
CONTAINER="mysql:5.6"
|
CONTAINER="mysql:5.6"
|
||||||
|
|
||||||
# Pull Container
|
# Pull Container
|
||||||
run "while ! docker pull ${CONTAINER}; do sleep 1; done"
|
run "until docker pull ${CONTAINER}; do sleep 1; done"
|
||||||
|
|
||||||
# Start mysql container
|
# Start mysql container
|
||||||
mdid="$( docker_run "${CONTAINER}" "-e MYSQL_ALLOW_EMPTY_PASSWORD=yes" )"
|
mdid="$( docker_run "${CONTAINER}" "-e MYSQL_ALLOW_EMPTY_PASSWORD=yes" )"
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ chmod 0777 "${DOC_ROOT_HOST}"
|
|||||||
chmod 0644 "${DOC_ROOT_HOST}/index.php"
|
chmod 0644 "${DOC_ROOT_HOST}/index.php"
|
||||||
|
|
||||||
# Pull container
|
# Pull container
|
||||||
run "while ! docker pull ${CONTAINER}; do sleep 1; done"
|
run "until docker pull ${CONTAINER}; do sleep 1; done"
|
||||||
|
|
||||||
# Start PHP-FPM
|
# Start PHP-FPM
|
||||||
did="$( docker_run "${IMAGE}:${VERSION}-${FLAVOUR}" "-e DEBUG_ENTRYPOINT=2 -e NEW_UID=$(id -u) -e NEW_GID=$(id -g) -v ${DOC_ROOT_HOST}:${DOC_ROOT_CONT} -v ${PHP_INI_HOST}:${PHP_INI_CONT}" )"
|
did="$( docker_run "${IMAGE}:${VERSION}-${FLAVOUR}" "-e DEBUG_ENTRYPOINT=2 -e NEW_UID=$(id -u) -e NEW_GID=$(id -g) -v ${DOC_ROOT_HOST}:${DOC_ROOT_CONT} -v ${PHP_INI_HOST}:${PHP_INI_CONT}" )"
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ chmod 0777 "${DOC_ROOT_HOST}"
|
|||||||
chmod 0644 "${DOC_ROOT_HOST}/index.php"
|
chmod 0644 "${DOC_ROOT_HOST}/index.php"
|
||||||
|
|
||||||
# Pull container
|
# Pull container
|
||||||
run "while ! docker pull ${CONTAINER}; do sleep 1; done"
|
run "until docker pull ${CONTAINER}; do sleep 1; done"
|
||||||
|
|
||||||
# Start PHP-FPM
|
# Start PHP-FPM
|
||||||
did="$( docker_run "${IMAGE}:${VERSION}-${FLAVOUR}" "-e DEBUG_ENTRYPOINT=2 -e NEW_UID=$(id -u) -e NEW_GID=$(id -g) -v ${DOC_ROOT_HOST}:${DOC_ROOT_CONT} -v ${PHP_CNF_HOST}:${PHP_CNF_CONT}" )"
|
did="$( docker_run "${IMAGE}:${VERSION}-${FLAVOUR}" "-e DEBUG_ENTRYPOINT=2 -e NEW_UID=$(id -u) -e NEW_GID=$(id -g) -v ${DOC_ROOT_HOST}:${DOC_ROOT_CONT} -v ${PHP_CNF_HOST}:${PHP_CNF_CONT}" )"
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ MOUNTPOINT="$( mktemp --directory )"
|
|||||||
CONTAINER="mysql:5.6"
|
CONTAINER="mysql:5.6"
|
||||||
|
|
||||||
# Pull Container
|
# Pull Container
|
||||||
run "while ! docker pull ${CONTAINER}; do sleep 1; done"
|
run "until docker pull ${CONTAINER}; do sleep 1; done"
|
||||||
|
|
||||||
# Start mysql container
|
# Start mysql container
|
||||||
mdid="$( docker_run "${CONTAINER}" "-e MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}" )"
|
mdid="$( docker_run "${CONTAINER}" "-e MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}" )"
|
||||||
|
|||||||
Reference in New Issue
Block a user