Properly handle return code after stripping libs

This commit is contained in:
cytopia
2018-04-07 17:18:13 +02:00
parent 2641449b43
commit 504d98b9c9
8 changed files with 11 additions and 7 deletions

View File

@@ -234,7 +234,7 @@ RUN set -x \
${RUN_DEPS} \ ${RUN_DEPS} \
&& rm -rf /var/lib/apt/lists/* \ && rm -rf /var/lib/apt/lists/* \
&& update-ca-certificates \ && update-ca-certificates \
&& find /usr/local -type f -perm /u+x -exec strip --strip-all '{}' + || true && sh -c "find /usr/local -type f -perm /u+x -exec strip --strip-all '{}' + || true"
### ###

View File

@@ -236,7 +236,7 @@ RUN set -x \
${RUN_DEPS} \ ${RUN_DEPS} \
&& rm -rf /var/lib/apt/lists/* \ && rm -rf /var/lib/apt/lists/* \
&& update-ca-certificates \ && update-ca-certificates \
&& find /usr/local -type f -perm /u+x -exec strip --strip-all '{}' + || true && sh -c "find /usr/local -type f -perm /u+x -exec strip --strip-all '{}' + || true"
### ###

View File

@@ -238,7 +238,7 @@ RUN set -x \
${RUN_DEPS} \ ${RUN_DEPS} \
&& rm -rf /var/lib/apt/lists/* \ && rm -rf /var/lib/apt/lists/* \
&& update-ca-certificates \ && update-ca-certificates \
&& find /usr/local -type f -perm /u+x -exec strip --strip-all '{}' + || true && sh -c "find /usr/local -type f -perm /u+x -exec strip --strip-all '{}' + || true"
### ###

View File

@@ -40,6 +40,7 @@ ENV BUILD_DEPS \
libib-util \ libib-util \
firebird-dev \ firebird-dev \
libicu-dev \ libicu-dev \
bison \
libldap2-dev \ libldap2-dev \
libsasl2-dev \ libsasl2-dev \
libmcrypt-dev \ libmcrypt-dev \
@@ -244,7 +245,7 @@ RUN set -x \
${RUN_DEPS} \ ${RUN_DEPS} \
&& rm -rf /var/lib/apt/lists/* \ && rm -rf /var/lib/apt/lists/* \
&& update-ca-certificates \ && update-ca-certificates \
&& find /usr/local -type f -perm /u+x -exec strip --strip-all '{}' + || true && sh -c "find /usr/local -type f -perm /u+x -exec strip --strip-all '{}' + || true"
### ###

View File

@@ -244,7 +244,7 @@ RUN set -x \
${RUN_DEPS} \ ${RUN_DEPS} \
&& rm -rf /var/lib/apt/lists/* \ && rm -rf /var/lib/apt/lists/* \
&& update-ca-certificates \ && update-ca-certificates \
&& find /usr/local -type f -perm /u+x -exec strip --strip-all '{}' + || true && sh -c "find /usr/local -type f -perm /u+x -exec strip --strip-all '{}' + || true"
### ###

View File

@@ -246,7 +246,7 @@ RUN set -x \
${RUN_DEPS} \ ${RUN_DEPS} \
&& rm -rf /var/lib/apt/lists/* \ && rm -rf /var/lib/apt/lists/* \
&& update-ca-certificates \ && update-ca-certificates \
&& find /usr/local -type f -perm /u+x -exec strip --strip-all '{}' + || true && sh -c "find /usr/local -type f -perm /u+x -exec strip --strip-all '{}' + || true"
### ###

View File

@@ -161,7 +161,7 @@ RUN set -x \
${RUN_DEPS} \ ${RUN_DEPS} \
&& rm -rf /var/lib/apt/lists/* \ && rm -rf /var/lib/apt/lists/* \
&& update-ca-certificates \ && update-ca-certificates \
&& find /usr/local -type f -perm /u+x -exec strip --strip-all '{}' + || true && sh -c "find /usr/local -type f -perm /u+x -exec strip --strip-all '{}' + || true"
{% if debug %} {% if debug %}

View File

@@ -601,6 +601,9 @@ extensions_available:
build_dep: [libicu-dev] build_dep: [libicu-dev]
run_dep: [libicu52] run_dep: [libicu52]
json: json:
7.0:
type: builtin
build_dep: [bison]
all: all:
type: builtin type: builtin
ldap: ldap: