mirror of
https://github.com/devilbox/docker-php-fpm.git
synced 2025-12-10 11:01:14 +00:00
Use newer pip version
This commit is contained in:
@@ -460,10 +460,10 @@ ln -s /usr/include/freetype2/freetype.h /usr/include/freetype2/freetype/freetype
|
|||||||
\
|
\
|
||||||
&& update-ca-certificates \
|
&& update-ca-certificates \
|
||||||
\
|
\
|
||||||
&& find /usr/local/bin -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 -exce 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 -exce 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 -exce 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
|
||||||
|
|
||||||
|
|
||||||
###
|
###
|
||||||
|
|||||||
@@ -504,10 +504,10 @@ RUN set -x \
|
|||||||
\
|
\
|
||||||
&& update-ca-certificates \
|
&& update-ca-certificates \
|
||||||
\
|
\
|
||||||
&& find /usr/local/bin -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 -exce 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 -exce 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 -exce 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
|
||||||
|
|
||||||
|
|
||||||
###
|
###
|
||||||
|
|||||||
@@ -509,10 +509,10 @@ RUN set -x \
|
|||||||
\
|
\
|
||||||
&& update-ca-certificates \
|
&& update-ca-certificates \
|
||||||
\
|
\
|
||||||
&& find /usr/local/bin -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 -exce 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 -exce 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 -exce 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
|
||||||
|
|
||||||
|
|
||||||
###
|
###
|
||||||
|
|||||||
@@ -507,10 +507,10 @@ RUN set -x \
|
|||||||
\
|
\
|
||||||
&& update-ca-certificates \
|
&& update-ca-certificates \
|
||||||
\
|
\
|
||||||
&& find /usr/local/bin -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 -exce 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 -exce 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 -exce 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
|
||||||
|
|
||||||
|
|
||||||
###
|
###
|
||||||
|
|||||||
@@ -507,10 +507,10 @@ RUN set -x \
|
|||||||
\
|
\
|
||||||
&& update-ca-certificates \
|
&& update-ca-certificates \
|
||||||
\
|
\
|
||||||
&& find /usr/local/bin -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 -exce 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 -exce 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 -exce 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
|
||||||
|
|
||||||
|
|
||||||
###
|
###
|
||||||
|
|||||||
@@ -506,10 +506,10 @@ RUN set -x \
|
|||||||
\
|
\
|
||||||
&& update-ca-certificates \
|
&& update-ca-certificates \
|
||||||
\
|
\
|
||||||
&& find /usr/local/bin -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 -exce 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 -exce 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 -exce 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
|
||||||
|
|
||||||
|
|
||||||
###
|
###
|
||||||
|
|||||||
@@ -509,10 +509,10 @@ RUN set -x \
|
|||||||
\
|
\
|
||||||
&& update-ca-certificates \
|
&& update-ca-certificates \
|
||||||
\
|
\
|
||||||
&& find /usr/local/bin -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 -exce 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 -exce 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 -exce 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
|
||||||
|
|
||||||
|
|
||||||
###
|
###
|
||||||
|
|||||||
@@ -514,10 +514,10 @@ RUN set -x \
|
|||||||
\
|
\
|
||||||
&& update-ca-certificates \
|
&& update-ca-certificates \
|
||||||
\
|
\
|
||||||
&& find /usr/local/bin -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 -exce 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 -exce 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 -exce 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
|
||||||
|
|
||||||
|
|
||||||
###
|
###
|
||||||
|
|||||||
@@ -502,10 +502,10 @@ RUN set -x \
|
|||||||
\
|
\
|
||||||
&& update-ca-certificates \
|
&& update-ca-certificates \
|
||||||
\
|
\
|
||||||
&& find /usr/local/bin -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 -exce 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 -exce 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 -exce 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
|
||||||
|
|
||||||
|
|
||||||
###
|
###
|
||||||
|
|||||||
@@ -34,9 +34,9 @@ RUN set -x \
|
|||||||
&& mkdir -p /etc/supervisor/conf.d \
|
&& mkdir -p /etc/supervisor/conf.d \
|
||||||
&& mkdir -p /var/log/supervisor \
|
&& mkdir -p /var/log/supervisor \
|
||||||
\
|
\
|
||||||
&& find /usr/local/bin -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 -exce 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 -exce 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
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -34,9 +34,9 @@ RUN set -x \
|
|||||||
&& mkdir -p /etc/supervisor/conf.d \
|
&& mkdir -p /etc/supervisor/conf.d \
|
||||||
&& mkdir -p /var/log/supervisor \
|
&& mkdir -p /var/log/supervisor \
|
||||||
\
|
\
|
||||||
&& find /usr/local/bin -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 -exce 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 -exce 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
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -34,9 +34,9 @@ RUN set -x \
|
|||||||
&& mkdir -p /etc/supervisor/conf.d \
|
&& mkdir -p /etc/supervisor/conf.d \
|
||||||
&& mkdir -p /var/log/supervisor \
|
&& mkdir -p /var/log/supervisor \
|
||||||
\
|
\
|
||||||
&& find /usr/local/bin -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 -exce 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 -exce 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
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -34,9 +34,9 @@ RUN set -x \
|
|||||||
&& mkdir -p /etc/supervisor/conf.d \
|
&& mkdir -p /etc/supervisor/conf.d \
|
||||||
&& mkdir -p /var/log/supervisor \
|
&& mkdir -p /var/log/supervisor \
|
||||||
\
|
\
|
||||||
&& find /usr/local/bin -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 -exce 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 -exce 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
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -34,9 +34,9 @@ RUN set -x \
|
|||||||
&& mkdir -p /etc/supervisor/conf.d \
|
&& mkdir -p /etc/supervisor/conf.d \
|
||||||
&& mkdir -p /var/log/supervisor \
|
&& mkdir -p /var/log/supervisor \
|
||||||
\
|
\
|
||||||
&& find /usr/local/bin -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 -exce 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 -exce 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
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -34,9 +34,9 @@ RUN set -x \
|
|||||||
&& mkdir -p /etc/supervisor/conf.d \
|
&& mkdir -p /etc/supervisor/conf.d \
|
||||||
&& mkdir -p /var/log/supervisor \
|
&& mkdir -p /var/log/supervisor \
|
||||||
\
|
\
|
||||||
&& find /usr/local/bin -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 -exce 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 -exce 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
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -34,9 +34,9 @@ RUN set -x \
|
|||||||
&& mkdir -p /etc/supervisor/conf.d \
|
&& mkdir -p /etc/supervisor/conf.d \
|
||||||
&& mkdir -p /var/log/supervisor \
|
&& mkdir -p /var/log/supervisor \
|
||||||
\
|
\
|
||||||
&& find /usr/local/bin -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 -exce 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 -exce 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
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -34,9 +34,9 @@ RUN set -x \
|
|||||||
&& mkdir -p /etc/supervisor/conf.d \
|
&& mkdir -p /etc/supervisor/conf.d \
|
||||||
&& mkdir -p /var/log/supervisor \
|
&& mkdir -p /var/log/supervisor \
|
||||||
\
|
\
|
||||||
&& find /usr/local/bin -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 -exce 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 -exce 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
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -34,9 +34,9 @@ RUN set -x \
|
|||||||
&& mkdir -p /etc/supervisor/conf.d \
|
&& mkdir -p /etc/supervisor/conf.d \
|
||||||
&& mkdir -p /var/log/supervisor \
|
&& mkdir -p /var/log/supervisor \
|
||||||
\
|
\
|
||||||
&& find /usr/local/bin -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 -exce 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 -exce 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
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -105,15 +105,21 @@ RUN set -x \
|
|||||||
zsh \
|
zsh \
|
||||||
&& DEBIAN_FRONTEND=noninteractive apt-get purge -qq -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false apt-utils \
|
&& DEBIAN_FRONTEND=noninteractive apt-get purge -qq -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false apt-utils \
|
||||||
&& rm -rf /var/lib/apt/lists/* \
|
&& 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 \
|
# Get newer pip version
|
||||||
&& find /usr/local/sbin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true
|
&& 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 \
|
RUN set -x \
|
||||||
# ansible
|
# ansible
|
||||||
&& pip install --no-cache-dir --upgrade setuptools \
|
&& /usr/local/bin/pip install --no-cache-dir --upgrade setuptools \
|
||||||
&& pip install --no-cache-dir ansible \
|
&& /usr/local/bin/pip install --no-cache-dir ansible \
|
||||||
\
|
\
|
||||||
# awesomeci
|
# awesomeci
|
||||||
&& 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 \
|
||||||
@@ -199,7 +205,7 @@ RUN set -x \
|
|||||||
&& 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 libpython-dev python-setuptools libyaml-dev \
|
&& 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 \
|
&& 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/* \
|
&& rm -rf /var/lib/apt/lists/* \
|
||||||
\
|
\
|
||||||
@@ -224,9 +230,12 @@ RUN set -x \
|
|||||||
\
|
\
|
||||||
&& rm -rf /tmp/* \
|
&& 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 \
|
&& rm -rf /usr/local/src/composer/cache/* || 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
|
||||||
|
|
||||||
|
|
||||||
###
|
###
|
||||||
|
|||||||
@@ -105,17 +105,23 @@ RUN set -x \
|
|||||||
zsh \
|
zsh \
|
||||||
&& DEBIAN_FRONTEND=noninteractive apt-get purge -qq -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false apt-utils \
|
&& DEBIAN_FRONTEND=noninteractive apt-get purge -qq -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false apt-utils \
|
||||||
&& rm -rf /var/lib/apt/lists/* \
|
&& 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 \
|
# Get newer pip version
|
||||||
&& find /usr/local/sbin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true
|
&& 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 \
|
RUN set -x \
|
||||||
# composer
|
# composer
|
||||||
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
|
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
|
||||||
# ansible
|
# ansible
|
||||||
&& pip install --no-cache-dir --upgrade setuptools \
|
&& /usr/local/bin/pip install --no-cache-dir --upgrade setuptools \
|
||||||
&& pip install --no-cache-dir ansible \
|
&& /usr/local/bin/pip install --no-cache-dir ansible \
|
||||||
\
|
\
|
||||||
# awesomeci
|
# awesomeci
|
||||||
&& 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 \
|
||||||
@@ -236,7 +242,7 @@ RUN set -x \
|
|||||||
&& 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 libpython-dev python-setuptools libyaml-dev \
|
&& 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 \
|
&& 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/* \
|
&& rm -rf /var/lib/apt/lists/* \
|
||||||
\
|
\
|
||||||
@@ -261,9 +267,12 @@ RUN set -x \
|
|||||||
\
|
\
|
||||||
&& rm -rf /tmp/* \
|
&& 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 \
|
&& rm -rf /usr/local/src/composer/cache/* || 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
|
||||||
|
|
||||||
|
|
||||||
###
|
###
|
||||||
|
|||||||
@@ -105,17 +105,23 @@ RUN set -x \
|
|||||||
zsh \
|
zsh \
|
||||||
&& DEBIAN_FRONTEND=noninteractive apt-get purge -qq -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false apt-utils \
|
&& DEBIAN_FRONTEND=noninteractive apt-get purge -qq -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false apt-utils \
|
||||||
&& rm -rf /var/lib/apt/lists/* \
|
&& 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 \
|
# Get newer pip version
|
||||||
&& find /usr/local/sbin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true
|
&& 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 \
|
RUN set -x \
|
||||||
# composer
|
# composer
|
||||||
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
|
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
|
||||||
# ansible
|
# ansible
|
||||||
&& pip install --no-cache-dir --upgrade setuptools \
|
&& /usr/local/bin/pip install --no-cache-dir --upgrade setuptools \
|
||||||
&& pip install --no-cache-dir ansible \
|
&& /usr/local/bin/pip install --no-cache-dir ansible \
|
||||||
\
|
\
|
||||||
# awesomeci
|
# awesomeci
|
||||||
&& 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 \
|
||||||
@@ -265,7 +271,7 @@ RUN set -x \
|
|||||||
&& 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 libpython-dev python-setuptools libyaml-dev \
|
&& 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 \
|
&& 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/* \
|
&& rm -rf /var/lib/apt/lists/* \
|
||||||
\
|
\
|
||||||
@@ -290,9 +296,12 @@ RUN set -x \
|
|||||||
\
|
\
|
||||||
&& rm -rf /tmp/* \
|
&& 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 \
|
&& rm -rf /usr/local/src/composer/cache/* || 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
|
||||||
|
|
||||||
|
|
||||||
###
|
###
|
||||||
|
|||||||
@@ -105,17 +105,23 @@ RUN set -x \
|
|||||||
zsh \
|
zsh \
|
||||||
&& DEBIAN_FRONTEND=noninteractive apt-get purge -qq -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false apt-utils \
|
&& DEBIAN_FRONTEND=noninteractive apt-get purge -qq -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false apt-utils \
|
||||||
&& rm -rf /var/lib/apt/lists/* \
|
&& 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 \
|
# Get newer pip version
|
||||||
&& find /usr/local/sbin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true
|
&& 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 \
|
RUN set -x \
|
||||||
# composer
|
# composer
|
||||||
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
|
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
|
||||||
# ansible
|
# ansible
|
||||||
&& pip install --no-cache-dir --upgrade setuptools \
|
&& /usr/local/bin/pip install --no-cache-dir --upgrade setuptools \
|
||||||
&& pip install --no-cache-dir ansible \
|
&& /usr/local/bin/pip install --no-cache-dir ansible \
|
||||||
\
|
\
|
||||||
# asgardcms
|
# asgardcms
|
||||||
&& COMPOSER_HOME="/usr/local/src/composer" composer global require asgardcms/asgardcms-installer \
|
&& 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 update -qq \
|
||||||
&& DEBIAN_FRONTEND=noninteractive apt-get install -qq -y --no-install-recommends --no-install-suggests libpython-dev python-setuptools libyaml-dev \
|
&& 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 \
|
&& 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/* \
|
&& rm -rf /var/lib/apt/lists/* \
|
||||||
\
|
\
|
||||||
@@ -301,9 +307,12 @@ RUN set -x \
|
|||||||
\
|
\
|
||||||
&& rm -rf /tmp/* \
|
&& 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 \
|
&& rm -rf /usr/local/src/composer/cache/* || 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
|
||||||
|
|
||||||
|
|
||||||
###
|
###
|
||||||
|
|||||||
@@ -105,17 +105,23 @@ RUN set -x \
|
|||||||
zsh \
|
zsh \
|
||||||
&& DEBIAN_FRONTEND=noninteractive apt-get purge -qq -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false apt-utils \
|
&& DEBIAN_FRONTEND=noninteractive apt-get purge -qq -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false apt-utils \
|
||||||
&& rm -rf /var/lib/apt/lists/* \
|
&& 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 \
|
# Get newer pip version
|
||||||
&& find /usr/local/sbin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true
|
&& 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 \
|
RUN set -x \
|
||||||
# composer
|
# composer
|
||||||
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
|
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
|
||||||
# ansible
|
# ansible
|
||||||
&& pip install --no-cache-dir --upgrade setuptools \
|
&& /usr/local/bin/pip install --no-cache-dir --upgrade setuptools \
|
||||||
&& pip install --no-cache-dir ansible \
|
&& /usr/local/bin/pip install --no-cache-dir ansible \
|
||||||
\
|
\
|
||||||
# asgardcms
|
# asgardcms
|
||||||
&& COMPOSER_HOME="/usr/local/src/composer" composer global require asgardcms/asgardcms-installer \
|
&& 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 update -qq \
|
||||||
&& DEBIAN_FRONTEND=noninteractive apt-get install -qq -y --no-install-recommends --no-install-suggests libpython-dev python-setuptools libyaml-dev \
|
&& 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 \
|
&& 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/* \
|
&& rm -rf /var/lib/apt/lists/* \
|
||||||
\
|
\
|
||||||
@@ -314,9 +320,12 @@ RUN set -x \
|
|||||||
\
|
\
|
||||||
&& rm -rf /tmp/* \
|
&& 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 \
|
&& rm -rf /usr/local/src/composer/cache/* || 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
|
||||||
|
|
||||||
|
|
||||||
###
|
###
|
||||||
|
|||||||
@@ -105,17 +105,23 @@ RUN set -x \
|
|||||||
zsh \
|
zsh \
|
||||||
&& DEBIAN_FRONTEND=noninteractive apt-get purge -qq -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false apt-utils \
|
&& DEBIAN_FRONTEND=noninteractive apt-get purge -qq -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false apt-utils \
|
||||||
&& rm -rf /var/lib/apt/lists/* \
|
&& 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 \
|
# Get newer pip version
|
||||||
&& find /usr/local/sbin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true
|
&& 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 \
|
RUN set -x \
|
||||||
# composer
|
# composer
|
||||||
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
|
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
|
||||||
# ansible
|
# ansible
|
||||||
&& pip install --no-cache-dir --upgrade setuptools \
|
&& /usr/local/bin/pip install --no-cache-dir --upgrade setuptools \
|
||||||
&& pip install --no-cache-dir ansible \
|
&& /usr/local/bin/pip install --no-cache-dir ansible \
|
||||||
\
|
\
|
||||||
# asgardcms
|
# asgardcms
|
||||||
&& COMPOSER_HOME="/usr/local/src/composer" composer global require asgardcms/asgardcms-installer \
|
&& 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 update -qq \
|
||||||
&& DEBIAN_FRONTEND=noninteractive apt-get install -qq -y --no-install-recommends --no-install-suggests libpython-dev python-setuptools libyaml-dev \
|
&& 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 \
|
&& 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/* \
|
&& rm -rf /var/lib/apt/lists/* \
|
||||||
\
|
\
|
||||||
@@ -314,9 +320,12 @@ RUN set -x \
|
|||||||
\
|
\
|
||||||
&& rm -rf /tmp/* \
|
&& 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 \
|
&& rm -rf /usr/local/src/composer/cache/* || 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
|
||||||
|
|
||||||
|
|
||||||
###
|
###
|
||||||
|
|||||||
@@ -105,17 +105,23 @@ RUN set -x \
|
|||||||
zsh \
|
zsh \
|
||||||
&& DEBIAN_FRONTEND=noninteractive apt-get purge -qq -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false apt-utils \
|
&& DEBIAN_FRONTEND=noninteractive apt-get purge -qq -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false apt-utils \
|
||||||
&& rm -rf /var/lib/apt/lists/* \
|
&& 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 \
|
# Get newer pip version
|
||||||
&& find /usr/local/sbin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true
|
&& 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 \
|
RUN set -x \
|
||||||
# composer
|
# composer
|
||||||
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
|
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
|
||||||
# ansible
|
# ansible
|
||||||
&& pip install --no-cache-dir --upgrade setuptools \
|
&& /usr/local/bin/pip install --no-cache-dir --upgrade setuptools \
|
||||||
&& pip install --no-cache-dir ansible \
|
&& /usr/local/bin/pip install --no-cache-dir ansible \
|
||||||
\
|
\
|
||||||
# asgardcms
|
# asgardcms
|
||||||
&& COMPOSER_HOME="/usr/local/src/composer" composer global require asgardcms/asgardcms-installer \
|
&& 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 update -qq \
|
||||||
&& DEBIAN_FRONTEND=noninteractive apt-get install -qq -y --no-install-recommends --no-install-suggests libpython-dev python-setuptools libyaml-dev \
|
&& 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 \
|
&& 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/* \
|
&& rm -rf /var/lib/apt/lists/* \
|
||||||
\
|
\
|
||||||
@@ -314,9 +320,12 @@ RUN set -x \
|
|||||||
\
|
\
|
||||||
&& rm -rf /tmp/* \
|
&& 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 \
|
&& rm -rf /usr/local/src/composer/cache/* || 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
|
||||||
|
|
||||||
|
|
||||||
###
|
###
|
||||||
|
|||||||
@@ -105,17 +105,23 @@ RUN set -x \
|
|||||||
zsh \
|
zsh \
|
||||||
&& DEBIAN_FRONTEND=noninteractive apt-get purge -qq -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false apt-utils \
|
&& DEBIAN_FRONTEND=noninteractive apt-get purge -qq -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false apt-utils \
|
||||||
&& rm -rf /var/lib/apt/lists/* \
|
&& 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 \
|
# Get newer pip version
|
||||||
&& find /usr/local/sbin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true
|
&& 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 \
|
RUN set -x \
|
||||||
# composer
|
# composer
|
||||||
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
|
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
|
||||||
# ansible
|
# ansible
|
||||||
&& pip install --no-cache-dir --upgrade setuptools \
|
&& /usr/local/bin/pip install --no-cache-dir --upgrade setuptools \
|
||||||
&& pip install --no-cache-dir ansible \
|
&& /usr/local/bin/pip install --no-cache-dir ansible \
|
||||||
\
|
\
|
||||||
# asgardcms
|
# asgardcms
|
||||||
&& COMPOSER_HOME="/usr/local/src/composer" composer global require asgardcms/asgardcms-installer \
|
&& 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 update -qq \
|
||||||
&& DEBIAN_FRONTEND=noninteractive apt-get install -qq -y --no-install-recommends --no-install-suggests libpython-dev python-setuptools libyaml-dev \
|
&& 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 \
|
&& 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/* \
|
&& rm -rf /var/lib/apt/lists/* \
|
||||||
\
|
\
|
||||||
@@ -314,9 +320,12 @@ RUN set -x \
|
|||||||
\
|
\
|
||||||
&& rm -rf /tmp/* \
|
&& 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 \
|
&& rm -rf /usr/local/src/composer/cache/* || 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
|
||||||
|
|
||||||
|
|
||||||
###
|
###
|
||||||
|
|||||||
@@ -105,17 +105,23 @@ RUN set -x \
|
|||||||
zsh \
|
zsh \
|
||||||
&& DEBIAN_FRONTEND=noninteractive apt-get purge -qq -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false apt-utils \
|
&& DEBIAN_FRONTEND=noninteractive apt-get purge -qq -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false apt-utils \
|
||||||
&& rm -rf /var/lib/apt/lists/* \
|
&& 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 \
|
# Get newer pip version
|
||||||
&& find /usr/local/sbin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true
|
&& 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 \
|
RUN set -x \
|
||||||
# composer
|
# composer
|
||||||
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
|
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
|
||||||
# ansible
|
# ansible
|
||||||
&& pip install --no-cache-dir --upgrade setuptools \
|
&& /usr/local/bin/pip install --no-cache-dir --upgrade setuptools \
|
||||||
&& pip install --no-cache-dir ansible \
|
&& /usr/local/bin/pip install --no-cache-dir ansible \
|
||||||
\
|
\
|
||||||
# asgardcms
|
# asgardcms
|
||||||
&& COMPOSER_HOME="/usr/local/src/composer" composer global require asgardcms/asgardcms-installer \
|
&& 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 update -qq \
|
||||||
&& DEBIAN_FRONTEND=noninteractive apt-get install -qq -y --no-install-recommends --no-install-suggests libpython-dev python-setuptools libyaml-dev \
|
&& 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 \
|
&& 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/* \
|
&& rm -rf /var/lib/apt/lists/* \
|
||||||
\
|
\
|
||||||
@@ -303,9 +309,12 @@ RUN set -x \
|
|||||||
\
|
\
|
||||||
&& rm -rf /tmp/* \
|
&& 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 \
|
&& rm -rf /usr/local/src/composer/cache/* || 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
|
||||||
|
|
||||||
|
|
||||||
###
|
###
|
||||||
|
|||||||
@@ -190,10 +190,10 @@ RUN set -x \
|
|||||||
\
|
\
|
||||||
&& update-ca-certificates \
|
&& update-ca-certificates \
|
||||||
\
|
\
|
||||||
&& find /usr/local/bin -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 -exce 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 -exce 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 -exce 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 %}
|
{% if debug %}
|
||||||
|
|||||||
@@ -34,9 +34,9 @@ RUN set -x \
|
|||||||
&& mkdir -p /etc/supervisor/conf.d \
|
&& mkdir -p /etc/supervisor/conf.d \
|
||||||
&& mkdir -p /var/log/supervisor \
|
&& mkdir -p /var/log/supervisor \
|
||||||
\
|
\
|
||||||
&& find /usr/local/bin -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 -exce 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 -exce 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
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -126,9 +126,15 @@ RUN set -x \
|
|||||||
zsh \
|
zsh \
|
||||||
&& DEBIAN_FRONTEND=noninteractive apt-get purge -qq -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false apt-utils \
|
&& DEBIAN_FRONTEND=noninteractive apt-get purge -qq -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false apt-utils \
|
||||||
&& rm -rf /var/lib/apt/lists/* \
|
&& 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 \
|
# Get newer pip version
|
||||||
&& find /usr/local/sbin -type f -exce strip --strip-all -p '{}' 2>/dev/null || true
|
&& 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 \
|
RUN set -x \
|
||||||
@@ -159,9 +165,12 @@ RUN set -x \
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% 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 \
|
&& rm -rf /usr/local/src/composer/cache/* || 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
|
||||||
|
|
||||||
|
|
||||||
###
|
###
|
||||||
|
|||||||
@@ -303,8 +303,8 @@ software_available:
|
|||||||
check: ansible --version | grep -E '^ansible [.0-9]+$'
|
check: ansible --version | grep -E '^ansible [.0-9]+$'
|
||||||
all:
|
all:
|
||||||
command: |
|
command: |
|
||||||
pip install --no-cache-dir --upgrade setuptools \
|
/usr/local/bin/pip install --no-cache-dir --upgrade setuptools \
|
||||||
&& pip install --no-cache-dir ansible \
|
&& /usr/local/bin/pip install --no-cache-dir ansible \
|
||||||
awesomeci:
|
awesomeci:
|
||||||
check: |
|
check: |
|
||||||
mdl --version | grep -E '[.0-9]+' \
|
mdl --version | grep -E '[.0-9]+' \
|
||||||
@@ -613,7 +613,7 @@ software_available:
|
|||||||
pre: |
|
pre: |
|
||||||
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 libpython-dev python-setuptools libyaml-dev \
|
&& 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: |
|
post: |
|
||||||
DEBIAN_FRONTEND=noninteractive apt-get purge -qq -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false libpython-dev python-setuptools libyaml-dev \
|
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/* \
|
&& rm -rf /var/lib/apt/lists/* \
|
||||||
|
|||||||
Reference in New Issue
Block a user