Use newer pip version

This commit is contained in:
cytopia
2018-11-01 15:07:53 +01:00
parent b257ffb972
commit 61224dfb12
31 changed files with 250 additions and 160 deletions

View File

@@ -460,10 +460,10 @@ ln -s /usr/include/freetype2/freetype.h /usr/include/freetype2/freetype/freetype
\
&& update-ca-certificates \
\
&& find /usr/local/bin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find /usr/local/lib -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find /usr/local/sbin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find "$(php -r 'echo ini_get("extension_dir");')" -type f -exce strip --strip-all -p '{}' 2>/dev/null || true
&& find /usr/local/bin -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find /usr/local/lib -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find /usr/local/sbin -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find "$(php -r 'echo ini_get("extension_dir");')" -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true
###

View File

@@ -504,10 +504,10 @@ RUN set -x \
\
&& update-ca-certificates \
\
&& find /usr/local/bin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find /usr/local/lib -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find /usr/local/sbin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find "$(php -r 'echo ini_get("extension_dir");')" -type f -exce strip --strip-all -p '{}' 2>/dev/null || true
&& find /usr/local/bin -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find /usr/local/lib -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find /usr/local/sbin -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find "$(php -r 'echo ini_get("extension_dir");')" -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true
###

View File

@@ -509,10 +509,10 @@ RUN set -x \
\
&& update-ca-certificates \
\
&& find /usr/local/bin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find /usr/local/lib -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find /usr/local/sbin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find "$(php -r 'echo ini_get("extension_dir");')" -type f -exce strip --strip-all -p '{}' 2>/dev/null || true
&& find /usr/local/bin -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find /usr/local/lib -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find /usr/local/sbin -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find "$(php -r 'echo ini_get("extension_dir");')" -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true
###

View File

@@ -507,10 +507,10 @@ RUN set -x \
\
&& update-ca-certificates \
\
&& find /usr/local/bin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find /usr/local/lib -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find /usr/local/sbin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find "$(php -r 'echo ini_get("extension_dir");')" -type f -exce strip --strip-all -p '{}' 2>/dev/null || true
&& find /usr/local/bin -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find /usr/local/lib -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find /usr/local/sbin -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find "$(php -r 'echo ini_get("extension_dir");')" -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true
###

View File

@@ -507,10 +507,10 @@ RUN set -x \
\
&& update-ca-certificates \
\
&& find /usr/local/bin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find /usr/local/lib -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find /usr/local/sbin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find "$(php -r 'echo ini_get("extension_dir");')" -type f -exce strip --strip-all -p '{}' 2>/dev/null || true
&& find /usr/local/bin -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find /usr/local/lib -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find /usr/local/sbin -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find "$(php -r 'echo ini_get("extension_dir");')" -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true
###

View File

@@ -506,10 +506,10 @@ RUN set -x \
\
&& update-ca-certificates \
\
&& find /usr/local/bin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find /usr/local/lib -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find /usr/local/sbin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find "$(php -r 'echo ini_get("extension_dir");')" -type f -exce strip --strip-all -p '{}' 2>/dev/null || true
&& find /usr/local/bin -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find /usr/local/lib -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find /usr/local/sbin -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find "$(php -r 'echo ini_get("extension_dir");')" -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true
###

View File

@@ -509,10 +509,10 @@ RUN set -x \
\
&& update-ca-certificates \
\
&& find /usr/local/bin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find /usr/local/lib -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find /usr/local/sbin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find "$(php -r 'echo ini_get("extension_dir");')" -type f -exce strip --strip-all -p '{}' 2>/dev/null || true
&& find /usr/local/bin -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find /usr/local/lib -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find /usr/local/sbin -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find "$(php -r 'echo ini_get("extension_dir");')" -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true
###

View File

@@ -514,10 +514,10 @@ RUN set -x \
\
&& update-ca-certificates \
\
&& find /usr/local/bin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find /usr/local/lib -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find /usr/local/sbin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find "$(php -r 'echo ini_get("extension_dir");')" -type f -exce strip --strip-all -p '{}' 2>/dev/null || true
&& find /usr/local/bin -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find /usr/local/lib -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find /usr/local/sbin -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find "$(php -r 'echo ini_get("extension_dir");')" -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true
###

View File

@@ -502,10 +502,10 @@ RUN set -x \
\
&& update-ca-certificates \
\
&& find /usr/local/bin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find /usr/local/lib -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find /usr/local/sbin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find "$(php -r 'echo ini_get("extension_dir");')" -type f -exce strip --strip-all -p '{}' 2>/dev/null || true
&& find /usr/local/bin -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find /usr/local/lib -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find /usr/local/sbin -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find "$(php -r 'echo ini_get("extension_dir");')" -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true
###

View File

@@ -34,9 +34,9 @@ RUN set -x \
&& mkdir -p /etc/supervisor/conf.d \
&& mkdir -p /var/log/supervisor \
\
&& find /usr/local/bin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find /usr/local/lib -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find /usr/local/sbin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true
&& find /usr/local/bin -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find /usr/local/lib -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find /usr/local/sbin -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true

View File

@@ -34,9 +34,9 @@ RUN set -x \
&& mkdir -p /etc/supervisor/conf.d \
&& mkdir -p /var/log/supervisor \
\
&& find /usr/local/bin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find /usr/local/lib -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find /usr/local/sbin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true
&& find /usr/local/bin -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find /usr/local/lib -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find /usr/local/sbin -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true

View File

@@ -34,9 +34,9 @@ RUN set -x \
&& mkdir -p /etc/supervisor/conf.d \
&& mkdir -p /var/log/supervisor \
\
&& find /usr/local/bin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find /usr/local/lib -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find /usr/local/sbin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true
&& find /usr/local/bin -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find /usr/local/lib -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find /usr/local/sbin -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true

View File

@@ -34,9 +34,9 @@ RUN set -x \
&& mkdir -p /etc/supervisor/conf.d \
&& mkdir -p /var/log/supervisor \
\
&& find /usr/local/bin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find /usr/local/lib -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find /usr/local/sbin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true
&& find /usr/local/bin -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find /usr/local/lib -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find /usr/local/sbin -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true

View File

@@ -34,9 +34,9 @@ RUN set -x \
&& mkdir -p /etc/supervisor/conf.d \
&& mkdir -p /var/log/supervisor \
\
&& find /usr/local/bin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find /usr/local/lib -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find /usr/local/sbin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true
&& find /usr/local/bin -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find /usr/local/lib -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find /usr/local/sbin -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true

View File

@@ -34,9 +34,9 @@ RUN set -x \
&& mkdir -p /etc/supervisor/conf.d \
&& mkdir -p /var/log/supervisor \
\
&& find /usr/local/bin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find /usr/local/lib -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find /usr/local/sbin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true
&& find /usr/local/bin -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find /usr/local/lib -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find /usr/local/sbin -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true

View File

@@ -34,9 +34,9 @@ RUN set -x \
&& mkdir -p /etc/supervisor/conf.d \
&& mkdir -p /var/log/supervisor \
\
&& find /usr/local/bin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find /usr/local/lib -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find /usr/local/sbin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true
&& find /usr/local/bin -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find /usr/local/lib -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find /usr/local/sbin -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true

View File

@@ -34,9 +34,9 @@ RUN set -x \
&& mkdir -p /etc/supervisor/conf.d \
&& mkdir -p /var/log/supervisor \
\
&& find /usr/local/bin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find /usr/local/lib -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find /usr/local/sbin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true
&& find /usr/local/bin -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find /usr/local/lib -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find /usr/local/sbin -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true

View File

@@ -34,9 +34,9 @@ RUN set -x \
&& mkdir -p /etc/supervisor/conf.d \
&& mkdir -p /var/log/supervisor \
\
&& find /usr/local/bin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find /usr/local/lib -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find /usr/local/sbin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true
&& find /usr/local/bin -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find /usr/local/lib -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find /usr/local/sbin -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true

View File

@@ -105,15 +105,21 @@ RUN set -x \
zsh \
&& DEBIAN_FRONTEND=noninteractive apt-get purge -qq -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false apt-utils \
&& rm -rf /var/lib/apt/lists/* \
&& find /usr/local/bin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find /usr/local/lib -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find /usr/local/sbin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true
\
# Get newer pip version
&& pip install --upgrade pip \
&& DEBIAN_FRONTEND=noninteractive apt-get purge -qq -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false python-pip \
&& rm -rf /var/lib/apt/lists/* \
\
&& find /usr/local/bin -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find /usr/local/lib -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find /usr/local/sbin -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true
RUN set -x \
# ansible
&& pip install --no-cache-dir --upgrade setuptools \
&& pip install --no-cache-dir ansible \
&& /usr/local/bin/pip install --no-cache-dir --upgrade setuptools \
&& /usr/local/bin/pip install --no-cache-dir ansible \
\
# awesomeci
&& git clone https://github.com/cytopia/awesome-ci.git /usr/local/src/awesome-ci \
@@ -199,7 +205,7 @@ RUN set -x \
&& DEBIAN_FRONTEND=noninteractive apt-get update -qq \
&& DEBIAN_FRONTEND=noninteractive apt-get install -qq -y --no-install-recommends --no-install-suggests libpython-dev python-setuptools libyaml-dev \
\
&& pip install --no-cache-dir yamllint \
&& /usr/local/bin/pip install --no-cache-dir yamllint \
&& DEBIAN_FRONTEND=noninteractive apt-get purge -qq -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false libpython-dev python-setuptools libyaml-dev \
&& rm -rf /var/lib/apt/lists/* \
\
@@ -224,9 +230,12 @@ RUN set -x \
\
&& rm -rf /tmp/* \
\
&& find /usr/local/bin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find /usr/local/lib -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find /usr/local/sbin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true
\
&& rm -rf /usr/local/src/composer/cache/* || true \
\
&& find /usr/local/bin -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find /usr/local/lib -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find /usr/local/sbin -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true
###

View File

@@ -105,17 +105,23 @@ RUN set -x \
zsh \
&& DEBIAN_FRONTEND=noninteractive apt-get purge -qq -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false apt-utils \
&& rm -rf /var/lib/apt/lists/* \
&& find /usr/local/bin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find /usr/local/lib -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find /usr/local/sbin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true
\
# Get newer pip version
&& pip install --upgrade pip \
&& DEBIAN_FRONTEND=noninteractive apt-get purge -qq -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false python-pip \
&& rm -rf /var/lib/apt/lists/* \
\
&& find /usr/local/bin -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find /usr/local/lib -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find /usr/local/sbin -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true
RUN set -x \
# composer
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
# ansible
&& pip install --no-cache-dir --upgrade setuptools \
&& pip install --no-cache-dir ansible \
&& /usr/local/bin/pip install --no-cache-dir --upgrade setuptools \
&& /usr/local/bin/pip install --no-cache-dir ansible \
\
# awesomeci
&& git clone https://github.com/cytopia/awesome-ci.git /usr/local/src/awesome-ci \
@@ -236,7 +242,7 @@ RUN set -x \
&& DEBIAN_FRONTEND=noninteractive apt-get update -qq \
&& DEBIAN_FRONTEND=noninteractive apt-get install -qq -y --no-install-recommends --no-install-suggests libpython-dev python-setuptools libyaml-dev \
\
&& pip install --no-cache-dir yamllint \
&& /usr/local/bin/pip install --no-cache-dir yamllint \
&& DEBIAN_FRONTEND=noninteractive apt-get purge -qq -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false libpython-dev python-setuptools libyaml-dev \
&& rm -rf /var/lib/apt/lists/* \
\
@@ -261,9 +267,12 @@ RUN set -x \
\
&& rm -rf /tmp/* \
\
&& find /usr/local/bin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find /usr/local/lib -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find /usr/local/sbin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true
\
&& rm -rf /usr/local/src/composer/cache/* || true \
\
&& find /usr/local/bin -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find /usr/local/lib -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find /usr/local/sbin -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true
###

View File

@@ -105,17 +105,23 @@ RUN set -x \
zsh \
&& DEBIAN_FRONTEND=noninteractive apt-get purge -qq -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false apt-utils \
&& rm -rf /var/lib/apt/lists/* \
&& find /usr/local/bin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find /usr/local/lib -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find /usr/local/sbin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true
\
# Get newer pip version
&& pip install --upgrade pip \
&& DEBIAN_FRONTEND=noninteractive apt-get purge -qq -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false python-pip \
&& rm -rf /var/lib/apt/lists/* \
\
&& find /usr/local/bin -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find /usr/local/lib -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find /usr/local/sbin -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true
RUN set -x \
# composer
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
# ansible
&& pip install --no-cache-dir --upgrade setuptools \
&& pip install --no-cache-dir ansible \
&& /usr/local/bin/pip install --no-cache-dir --upgrade setuptools \
&& /usr/local/bin/pip install --no-cache-dir ansible \
\
# awesomeci
&& git clone https://github.com/cytopia/awesome-ci.git /usr/local/src/awesome-ci \
@@ -265,7 +271,7 @@ RUN set -x \
&& DEBIAN_FRONTEND=noninteractive apt-get update -qq \
&& DEBIAN_FRONTEND=noninteractive apt-get install -qq -y --no-install-recommends --no-install-suggests libpython-dev python-setuptools libyaml-dev \
\
&& pip install --no-cache-dir yamllint \
&& /usr/local/bin/pip install --no-cache-dir yamllint \
&& DEBIAN_FRONTEND=noninteractive apt-get purge -qq -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false libpython-dev python-setuptools libyaml-dev \
&& rm -rf /var/lib/apt/lists/* \
\
@@ -290,9 +296,12 @@ RUN set -x \
\
&& rm -rf /tmp/* \
\
&& find /usr/local/bin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find /usr/local/lib -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find /usr/local/sbin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true
\
&& rm -rf /usr/local/src/composer/cache/* || true \
\
&& find /usr/local/bin -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find /usr/local/lib -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find /usr/local/sbin -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true
###

View File

@@ -105,17 +105,23 @@ RUN set -x \
zsh \
&& DEBIAN_FRONTEND=noninteractive apt-get purge -qq -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false apt-utils \
&& rm -rf /var/lib/apt/lists/* \
&& find /usr/local/bin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find /usr/local/lib -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find /usr/local/sbin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true
\
# Get newer pip version
&& pip install --upgrade pip \
&& DEBIAN_FRONTEND=noninteractive apt-get purge -qq -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false python-pip \
&& rm -rf /var/lib/apt/lists/* \
\
&& find /usr/local/bin -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find /usr/local/lib -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find /usr/local/sbin -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true
RUN set -x \
# composer
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
# ansible
&& pip install --no-cache-dir --upgrade setuptools \
&& pip install --no-cache-dir ansible \
&& /usr/local/bin/pip install --no-cache-dir --upgrade setuptools \
&& /usr/local/bin/pip install --no-cache-dir ansible \
\
# asgardcms
&& COMPOSER_HOME="/usr/local/src/composer" composer global require asgardcms/asgardcms-installer \
@@ -276,7 +282,7 @@ RUN set -x \
&& DEBIAN_FRONTEND=noninteractive apt-get update -qq \
&& DEBIAN_FRONTEND=noninteractive apt-get install -qq -y --no-install-recommends --no-install-suggests libpython-dev python-setuptools libyaml-dev \
\
&& pip install --no-cache-dir yamllint \
&& /usr/local/bin/pip install --no-cache-dir yamllint \
&& DEBIAN_FRONTEND=noninteractive apt-get purge -qq -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false libpython-dev python-setuptools libyaml-dev \
&& rm -rf /var/lib/apt/lists/* \
\
@@ -301,9 +307,12 @@ RUN set -x \
\
&& rm -rf /tmp/* \
\
&& find /usr/local/bin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find /usr/local/lib -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find /usr/local/sbin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true
\
&& rm -rf /usr/local/src/composer/cache/* || true \
\
&& find /usr/local/bin -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find /usr/local/lib -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find /usr/local/sbin -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true
###

View File

@@ -105,17 +105,23 @@ RUN set -x \
zsh \
&& DEBIAN_FRONTEND=noninteractive apt-get purge -qq -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false apt-utils \
&& rm -rf /var/lib/apt/lists/* \
&& find /usr/local/bin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find /usr/local/lib -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find /usr/local/sbin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true
\
# Get newer pip version
&& pip install --upgrade pip \
&& DEBIAN_FRONTEND=noninteractive apt-get purge -qq -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false python-pip \
&& rm -rf /var/lib/apt/lists/* \
\
&& find /usr/local/bin -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find /usr/local/lib -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find /usr/local/sbin -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true
RUN set -x \
# composer
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
# ansible
&& pip install --no-cache-dir --upgrade setuptools \
&& pip install --no-cache-dir ansible \
&& /usr/local/bin/pip install --no-cache-dir --upgrade setuptools \
&& /usr/local/bin/pip install --no-cache-dir ansible \
\
# asgardcms
&& COMPOSER_HOME="/usr/local/src/composer" composer global require asgardcms/asgardcms-installer \
@@ -289,7 +295,7 @@ RUN set -x \
&& DEBIAN_FRONTEND=noninteractive apt-get update -qq \
&& DEBIAN_FRONTEND=noninteractive apt-get install -qq -y --no-install-recommends --no-install-suggests libpython-dev python-setuptools libyaml-dev \
\
&& pip install --no-cache-dir yamllint \
&& /usr/local/bin/pip install --no-cache-dir yamllint \
&& DEBIAN_FRONTEND=noninteractive apt-get purge -qq -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false libpython-dev python-setuptools libyaml-dev \
&& rm -rf /var/lib/apt/lists/* \
\
@@ -314,9 +320,12 @@ RUN set -x \
\
&& rm -rf /tmp/* \
\
&& find /usr/local/bin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find /usr/local/lib -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find /usr/local/sbin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true
\
&& rm -rf /usr/local/src/composer/cache/* || true \
\
&& find /usr/local/bin -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find /usr/local/lib -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find /usr/local/sbin -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true
###

View File

@@ -105,17 +105,23 @@ RUN set -x \
zsh \
&& DEBIAN_FRONTEND=noninteractive apt-get purge -qq -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false apt-utils \
&& rm -rf /var/lib/apt/lists/* \
&& find /usr/local/bin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find /usr/local/lib -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find /usr/local/sbin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true
\
# Get newer pip version
&& pip install --upgrade pip \
&& DEBIAN_FRONTEND=noninteractive apt-get purge -qq -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false python-pip \
&& rm -rf /var/lib/apt/lists/* \
\
&& find /usr/local/bin -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find /usr/local/lib -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find /usr/local/sbin -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true
RUN set -x \
# composer
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
# ansible
&& pip install --no-cache-dir --upgrade setuptools \
&& pip install --no-cache-dir ansible \
&& /usr/local/bin/pip install --no-cache-dir --upgrade setuptools \
&& /usr/local/bin/pip install --no-cache-dir ansible \
\
# asgardcms
&& COMPOSER_HOME="/usr/local/src/composer" composer global require asgardcms/asgardcms-installer \
@@ -289,7 +295,7 @@ RUN set -x \
&& DEBIAN_FRONTEND=noninteractive apt-get update -qq \
&& DEBIAN_FRONTEND=noninteractive apt-get install -qq -y --no-install-recommends --no-install-suggests libpython-dev python-setuptools libyaml-dev \
\
&& pip install --no-cache-dir yamllint \
&& /usr/local/bin/pip install --no-cache-dir yamllint \
&& DEBIAN_FRONTEND=noninteractive apt-get purge -qq -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false libpython-dev python-setuptools libyaml-dev \
&& rm -rf /var/lib/apt/lists/* \
\
@@ -314,9 +320,12 @@ RUN set -x \
\
&& rm -rf /tmp/* \
\
&& find /usr/local/bin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find /usr/local/lib -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find /usr/local/sbin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true
\
&& rm -rf /usr/local/src/composer/cache/* || true \
\
&& find /usr/local/bin -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find /usr/local/lib -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find /usr/local/sbin -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true
###

View File

@@ -105,17 +105,23 @@ RUN set -x \
zsh \
&& DEBIAN_FRONTEND=noninteractive apt-get purge -qq -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false apt-utils \
&& rm -rf /var/lib/apt/lists/* \
&& find /usr/local/bin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find /usr/local/lib -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find /usr/local/sbin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true
\
# Get newer pip version
&& pip install --upgrade pip \
&& DEBIAN_FRONTEND=noninteractive apt-get purge -qq -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false python-pip \
&& rm -rf /var/lib/apt/lists/* \
\
&& find /usr/local/bin -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find /usr/local/lib -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find /usr/local/sbin -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true
RUN set -x \
# composer
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
# ansible
&& pip install --no-cache-dir --upgrade setuptools \
&& pip install --no-cache-dir ansible \
&& /usr/local/bin/pip install --no-cache-dir --upgrade setuptools \
&& /usr/local/bin/pip install --no-cache-dir ansible \
\
# asgardcms
&& COMPOSER_HOME="/usr/local/src/composer" composer global require asgardcms/asgardcms-installer \
@@ -289,7 +295,7 @@ RUN set -x \
&& DEBIAN_FRONTEND=noninteractive apt-get update -qq \
&& DEBIAN_FRONTEND=noninteractive apt-get install -qq -y --no-install-recommends --no-install-suggests libpython-dev python-setuptools libyaml-dev \
\
&& pip install --no-cache-dir yamllint \
&& /usr/local/bin/pip install --no-cache-dir yamllint \
&& DEBIAN_FRONTEND=noninteractive apt-get purge -qq -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false libpython-dev python-setuptools libyaml-dev \
&& rm -rf /var/lib/apt/lists/* \
\
@@ -314,9 +320,12 @@ RUN set -x \
\
&& rm -rf /tmp/* \
\
&& find /usr/local/bin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find /usr/local/lib -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find /usr/local/sbin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true
\
&& rm -rf /usr/local/src/composer/cache/* || true \
\
&& find /usr/local/bin -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find /usr/local/lib -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find /usr/local/sbin -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true
###

View File

@@ -105,17 +105,23 @@ RUN set -x \
zsh \
&& DEBIAN_FRONTEND=noninteractive apt-get purge -qq -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false apt-utils \
&& rm -rf /var/lib/apt/lists/* \
&& find /usr/local/bin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find /usr/local/lib -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find /usr/local/sbin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true
\
# Get newer pip version
&& pip install --upgrade pip \
&& DEBIAN_FRONTEND=noninteractive apt-get purge -qq -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false python-pip \
&& rm -rf /var/lib/apt/lists/* \
\
&& find /usr/local/bin -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find /usr/local/lib -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find /usr/local/sbin -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true
RUN set -x \
# composer
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
# ansible
&& pip install --no-cache-dir --upgrade setuptools \
&& pip install --no-cache-dir ansible \
&& /usr/local/bin/pip install --no-cache-dir --upgrade setuptools \
&& /usr/local/bin/pip install --no-cache-dir ansible \
\
# asgardcms
&& COMPOSER_HOME="/usr/local/src/composer" composer global require asgardcms/asgardcms-installer \
@@ -289,7 +295,7 @@ RUN set -x \
&& DEBIAN_FRONTEND=noninteractive apt-get update -qq \
&& DEBIAN_FRONTEND=noninteractive apt-get install -qq -y --no-install-recommends --no-install-suggests libpython-dev python-setuptools libyaml-dev \
\
&& pip install --no-cache-dir yamllint \
&& /usr/local/bin/pip install --no-cache-dir yamllint \
&& DEBIAN_FRONTEND=noninteractive apt-get purge -qq -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false libpython-dev python-setuptools libyaml-dev \
&& rm -rf /var/lib/apt/lists/* \
\
@@ -314,9 +320,12 @@ RUN set -x \
\
&& rm -rf /tmp/* \
\
&& find /usr/local/bin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find /usr/local/lib -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find /usr/local/sbin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true
\
&& rm -rf /usr/local/src/composer/cache/* || true \
\
&& find /usr/local/bin -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find /usr/local/lib -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find /usr/local/sbin -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true
###

View File

@@ -105,17 +105,23 @@ RUN set -x \
zsh \
&& DEBIAN_FRONTEND=noninteractive apt-get purge -qq -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false apt-utils \
&& rm -rf /var/lib/apt/lists/* \
&& find /usr/local/bin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find /usr/local/lib -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find /usr/local/sbin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true
\
# Get newer pip version
&& pip install --upgrade pip \
&& DEBIAN_FRONTEND=noninteractive apt-get purge -qq -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false python-pip \
&& rm -rf /var/lib/apt/lists/* \
\
&& find /usr/local/bin -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find /usr/local/lib -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find /usr/local/sbin -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true
RUN set -x \
# composer
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
# ansible
&& pip install --no-cache-dir --upgrade setuptools \
&& pip install --no-cache-dir ansible \
&& /usr/local/bin/pip install --no-cache-dir --upgrade setuptools \
&& /usr/local/bin/pip install --no-cache-dir ansible \
\
# asgardcms
&& COMPOSER_HOME="/usr/local/src/composer" composer global require asgardcms/asgardcms-installer \
@@ -278,7 +284,7 @@ RUN set -x \
&& DEBIAN_FRONTEND=noninteractive apt-get update -qq \
&& DEBIAN_FRONTEND=noninteractive apt-get install -qq -y --no-install-recommends --no-install-suggests libpython-dev python-setuptools libyaml-dev \
\
&& pip install --no-cache-dir yamllint \
&& /usr/local/bin/pip install --no-cache-dir yamllint \
&& DEBIAN_FRONTEND=noninteractive apt-get purge -qq -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false libpython-dev python-setuptools libyaml-dev \
&& rm -rf /var/lib/apt/lists/* \
\
@@ -303,9 +309,12 @@ RUN set -x \
\
&& rm -rf /tmp/* \
\
&& find /usr/local/bin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find /usr/local/lib -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find /usr/local/sbin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true
\
&& rm -rf /usr/local/src/composer/cache/* || true \
\
&& find /usr/local/bin -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find /usr/local/lib -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find /usr/local/sbin -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true
###

View File

@@ -190,10 +190,10 @@ RUN set -x \
\
&& update-ca-certificates \
\
&& find /usr/local/bin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find /usr/local/lib -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find /usr/local/sbin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find "$(php -r 'echo ini_get("extension_dir");')" -type f -exce strip --strip-all -p '{}' 2>/dev/null || true
&& find /usr/local/bin -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find /usr/local/lib -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find /usr/local/sbin -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find "$(php -r 'echo ini_get("extension_dir");')" -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true
{% if debug %}

View File

@@ -34,9 +34,9 @@ RUN set -x \
&& mkdir -p /etc/supervisor/conf.d \
&& mkdir -p /var/log/supervisor \
\
&& find /usr/local/bin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find /usr/local/lib -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find /usr/local/sbin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true
&& find /usr/local/bin -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find /usr/local/lib -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find /usr/local/sbin -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true

View File

@@ -126,9 +126,15 @@ RUN set -x \
zsh \
&& DEBIAN_FRONTEND=noninteractive apt-get purge -qq -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false apt-utils \
&& rm -rf /var/lib/apt/lists/* \
&& find /usr/local/bin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find /usr/local/lib -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find /usr/local/sbin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true
\
# Get newer pip version
&& pip install --upgrade pip \
&& DEBIAN_FRONTEND=noninteractive apt-get purge -qq -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false python-pip \
&& rm -rf /var/lib/apt/lists/* \
\
&& find /usr/local/bin -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find /usr/local/lib -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find /usr/local/sbin -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true
RUN set -x \
@@ -159,9 +165,12 @@ RUN set -x \
{% endif %}
{% endif %}
{% endfor %}
&& find /usr/local/bin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find /usr/local/lib -type f -exce strip --strip-all -p '{}' 2>/dev/null || true \
&& find /usr/local/sbin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true
\
&& rm -rf /usr/local/src/composer/cache/* || true \
\
&& find /usr/local/bin -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find /usr/local/lib -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true \
&& find /usr/local/sbin -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true
###

View File

@@ -303,8 +303,8 @@ software_available:
check: ansible --version | grep -E '^ansible [.0-9]+$'
all:
command: |
pip install --no-cache-dir --upgrade setuptools \
&& pip install --no-cache-dir ansible \
/usr/local/bin/pip install --no-cache-dir --upgrade setuptools \
&& /usr/local/bin/pip install --no-cache-dir ansible \
awesomeci:
check: |
mdl --version | grep -E '[.0-9]+' \
@@ -613,7 +613,7 @@ software_available:
pre: |
DEBIAN_FRONTEND=noninteractive apt-get update -qq \
&& DEBIAN_FRONTEND=noninteractive apt-get install -qq -y --no-install-recommends --no-install-suggests libpython-dev python-setuptools libyaml-dev \
command: pip install --no-cache-dir yamllint
command: /usr/local/bin/pip install --no-cache-dir yamllint
post: |
DEBIAN_FRONTEND=noninteractive apt-get purge -qq -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false libpython-dev python-setuptools libyaml-dev \
&& rm -rf /var/lib/apt/lists/* \