mirror of
https://github.com/devilbox/docker-php-fpm.git
synced 2025-12-20 07:51:14 +00:00
Fix PHP 7.2 install
This commit is contained in:
@@ -207,9 +207,9 @@ RUN set -x \
|
|||||||
&& curl https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar -L -o /usr/local/bin/wp \
|
&& curl https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar -L -o /usr/local/bin/wp \
|
||||||
&& chmod +x /usr/local/bin/wp \
|
&& chmod +x /usr/local/bin/wp \
|
||||||
# yamllint
|
# yamllint
|
||||||
&& apt update && apt install --no-install-recommends --no-install-suggests -y libpython-dev libyaml-dev \
|
&& apt update && apt install --no-install-recommends --no-install-suggests -y libpython-dev python-setuptools libyaml-dev \
|
||||||
&& pip install yamllint \
|
&& pip install yamllint \
|
||||||
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $fetchDeps libpython-dev libyaml-dev && rm -rf /var/lib/apt/lists/* \
|
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $fetchDeps libpython-dev python-setuptools libyaml-dev && rm -rf /var/lib/apt/lists/* \
|
||||||
# cleanup
|
# cleanup
|
||||||
&& rm -rf /home/${MY_USER}/.*json \
|
&& rm -rf /home/${MY_USER}/.*json \
|
||||||
&& rm -rf /home/${MY_USER}/.cache \
|
&& rm -rf /home/${MY_USER}/.cache \
|
||||||
|
|||||||
@@ -210,9 +210,9 @@ RUN set -x \
|
|||||||
&& curl https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar -L -o /usr/local/bin/wp \
|
&& curl https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar -L -o /usr/local/bin/wp \
|
||||||
&& chmod +x /usr/local/bin/wp \
|
&& chmod +x /usr/local/bin/wp \
|
||||||
# yamllint
|
# yamllint
|
||||||
&& apt update && apt install --no-install-recommends --no-install-suggests -y libpython-dev libyaml-dev \
|
&& apt update && apt install --no-install-recommends --no-install-suggests -y libpython-dev python-setuptools libyaml-dev \
|
||||||
&& pip install yamllint \
|
&& pip install yamllint \
|
||||||
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $fetchDeps libpython-dev libyaml-dev && rm -rf /var/lib/apt/lists/* \
|
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $fetchDeps libpython-dev python-setuptools libyaml-dev && rm -rf /var/lib/apt/lists/* \
|
||||||
# cleanup
|
# cleanup
|
||||||
&& rm -rf /home/${MY_USER}/.*json \
|
&& rm -rf /home/${MY_USER}/.*json \
|
||||||
&& rm -rf /home/${MY_USER}/.cache \
|
&& rm -rf /home/${MY_USER}/.cache \
|
||||||
|
|||||||
@@ -210,9 +210,9 @@ RUN set -x \
|
|||||||
&& curl https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar -L -o /usr/local/bin/wp \
|
&& curl https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar -L -o /usr/local/bin/wp \
|
||||||
&& chmod +x /usr/local/bin/wp \
|
&& chmod +x /usr/local/bin/wp \
|
||||||
# yamllint
|
# yamllint
|
||||||
&& apt update && apt install --no-install-recommends --no-install-suggests -y libpython-dev libyaml-dev \
|
&& apt update && apt install --no-install-recommends --no-install-suggests -y libpython-dev python-setuptools libyaml-dev \
|
||||||
&& pip install yamllint \
|
&& pip install yamllint \
|
||||||
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $fetchDeps libpython-dev libyaml-dev && rm -rf /var/lib/apt/lists/* \
|
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $fetchDeps libpython-dev python-setuptools libyaml-dev && rm -rf /var/lib/apt/lists/* \
|
||||||
# cleanup
|
# cleanup
|
||||||
&& rm -rf /home/${MY_USER}/.*json \
|
&& rm -rf /home/${MY_USER}/.*json \
|
||||||
&& rm -rf /home/${MY_USER}/.cache \
|
&& rm -rf /home/${MY_USER}/.cache \
|
||||||
|
|||||||
@@ -210,9 +210,9 @@ RUN set -x \
|
|||||||
&& curl https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar -L -o /usr/local/bin/wp \
|
&& curl https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar -L -o /usr/local/bin/wp \
|
||||||
&& chmod +x /usr/local/bin/wp \
|
&& chmod +x /usr/local/bin/wp \
|
||||||
# yamllint
|
# yamllint
|
||||||
&& apt update && apt install --no-install-recommends --no-install-suggests -y libpython-dev libyaml-dev \
|
&& apt update && apt install --no-install-recommends --no-install-suggests -y libpython-dev python-setuptools libyaml-dev \
|
||||||
&& pip install yamllint \
|
&& pip install yamllint \
|
||||||
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $fetchDeps libpython-dev libyaml-dev && rm -rf /var/lib/apt/lists/* \
|
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $fetchDeps libpython-dev python-setuptools libyaml-dev && rm -rf /var/lib/apt/lists/* \
|
||||||
# cleanup
|
# cleanup
|
||||||
&& rm -rf /home/${MY_USER}/.*json \
|
&& rm -rf /home/${MY_USER}/.*json \
|
||||||
&& rm -rf /home/${MY_USER}/.cache \
|
&& rm -rf /home/${MY_USER}/.cache \
|
||||||
|
|||||||
@@ -210,9 +210,9 @@ RUN set -x \
|
|||||||
&& curl https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar -L -o /usr/local/bin/wp \
|
&& curl https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar -L -o /usr/local/bin/wp \
|
||||||
&& chmod +x /usr/local/bin/wp \
|
&& chmod +x /usr/local/bin/wp \
|
||||||
# yamllint
|
# yamllint
|
||||||
&& apt update && apt install --no-install-recommends --no-install-suggests -y libpython-dev libyaml-dev \
|
&& apt update && apt install --no-install-recommends --no-install-suggests -y libpython-dev python-setuptools libyaml-dev \
|
||||||
&& pip install yamllint \
|
&& pip install yamllint \
|
||||||
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $fetchDeps libpython-dev libyaml-dev && rm -rf /var/lib/apt/lists/* \
|
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $fetchDeps libpython-dev python-setuptools libyaml-dev && rm -rf /var/lib/apt/lists/* \
|
||||||
# cleanup
|
# cleanup
|
||||||
&& rm -rf /home/${MY_USER}/.*json \
|
&& rm -rf /home/${MY_USER}/.*json \
|
||||||
&& rm -rf /home/${MY_USER}/.cache \
|
&& rm -rf /home/${MY_USER}/.cache \
|
||||||
|
|||||||
@@ -210,9 +210,9 @@ RUN set -x \
|
|||||||
&& curl https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar -L -o /usr/local/bin/wp \
|
&& curl https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar -L -o /usr/local/bin/wp \
|
||||||
&& chmod +x /usr/local/bin/wp \
|
&& chmod +x /usr/local/bin/wp \
|
||||||
# yamllint
|
# yamllint
|
||||||
&& apt update && apt install --no-install-recommends --no-install-suggests -y libpython-dev libyaml-dev \
|
&& apt update && apt install --no-install-recommends --no-install-suggests -y libpython-dev python-setuptools libyaml-dev \
|
||||||
&& pip install yamllint \
|
&& pip install yamllint \
|
||||||
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $fetchDeps libpython-dev libyaml-dev && rm -rf /var/lib/apt/lists/* \
|
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $fetchDeps libpython-dev python-setuptools libyaml-dev && rm -rf /var/lib/apt/lists/* \
|
||||||
# cleanup
|
# cleanup
|
||||||
&& rm -rf /home/${MY_USER}/.*json \
|
&& rm -rf /home/${MY_USER}/.*json \
|
||||||
&& rm -rf /home/${MY_USER}/.cache \
|
&& rm -rf /home/${MY_USER}/.cache \
|
||||||
|
|||||||
@@ -326,9 +326,9 @@ software_available:
|
|||||||
yamllint:
|
yamllint:
|
||||||
check: yamllint --version 2>&1 | grep -E '[.0-9]+'
|
check: yamllint --version 2>&1 | grep -E '[.0-9]+'
|
||||||
all:
|
all:
|
||||||
pre: apt update && apt install --no-install-recommends --no-install-suggests -y libpython-dev libyaml-dev
|
pre: apt update && apt install --no-install-recommends --no-install-suggests -y libpython-dev python-setuptools libyaml-dev
|
||||||
command: pip install yamllint
|
command: pip install yamllint
|
||||||
post: apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $fetchDeps libpython-dev libyaml-dev && rm -rf /var/lib/apt/lists/*
|
post: apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $fetchDeps libpython-dev python-setuptools libyaml-dev && rm -rf /var/lib/apt/lists/*
|
||||||
cleanup:
|
cleanup:
|
||||||
all:
|
all:
|
||||||
command: |
|
command: |
|
||||||
|
|||||||
Reference in New Issue
Block a user