Skip to content

Commit 6c17c36

Browse files
committed
workarround
imap not build on arm32 debian because libssl3/libssl3t64 problem
1 parent cae8527 commit 6c17c36

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

debian.apache.Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ RUN \
2929
gettext \
3030
gmp \
3131
imagick \
32-
imap \
32+
# imap \
3333
intl \
3434
ldap \
3535
memcached \
@@ -56,7 +56,7 @@ RUN \
5656
if [[ "$ARCH" == "armv"* ]]; then \
5757
# fix: /usr/lib/gcc/arm-linux-gnueabihf/10/include/arm_neon.h:10403:1: error: inlining failed in call to ‘always_inline’ ‘vld1q_u8’: target specific option mismatch
5858
apt-get update ; \
59-
apt-get install -y --no-install-recommends libfreetype6 libjpeg62-turbo ^libpng[0-9]+-[0-9]+$ libxpm4 ^libwebp[0-9]+$ libssl3t64 ; \
59+
apt-get install -y --no-install-recommends libfreetype6 libjpeg62-turbo ^libpng[0-9]+-[0-9]+$ libxpm4 ^libwebp[0-9]+$ ; \
6060
temp_package="libfreetype6-dev libjpeg62-turbo-dev libpng-dev libxpm-dev libwebp-dev" ; \
6161
apt-get install -y --no-install-recommends $temp_package ; \
6262
docker-php-ext-configure gd --enable-gd --with-webp --with-jpeg --with-xpm --with-freetype ; \
@@ -65,7 +65,7 @@ RUN \
6565
rm -rf /var/lib/apt/lists/* ; \
6666
#php -i | grep 'GD' ; \
6767
else \
68-
PHP_EXTENSIONS_LIST="$PHP_EXTENSIONS_LIST gd" ; \
68+
PHP_EXTENSIONS_LIST="$PHP_EXTENSIONS_LIST gd imap" ; \
6969
fi ; \
7070
# bugfix/workarround: https://packages.debian.org/search?suite=default&section=all&arch=any&searchon=names&keywords=libmemcachedutil2
7171
DISTRO="$(cat /etc/os-release | grep -E ^ID= | cut -d = -f 2)" ; \

debian.fpm.Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ RUN \
2929
gettext \
3030
gmp \
3131
imagick \
32-
imap \
32+
# imap \
3333
intl \
3434
ldap \
3535
memcached \
@@ -56,7 +56,7 @@ RUN \
5656
if [[ "$ARCH" == "armv"* ]]; then \
5757
# fix: /usr/lib/gcc/arm-linux-gnueabihf/10/include/arm_neon.h:10403:1: error: inlining failed in call to ‘always_inline’ ‘vld1q_u8’: target specific option mismatch
5858
apt-get update ; \
59-
apt-get install -y --no-install-recommends libfreetype6 libjpeg62-turbo ^libpng[0-9]+-[0-9]+$ libxpm4 ^libwebp[0-9]+$ libssl3t64 ; \
59+
apt-get install -y --no-install-recommends libfreetype6 libjpeg62-turbo ^libpng[0-9]+-[0-9]+$ libxpm4 ^libwebp[0-9]+$ ; \
6060
temp_package="libfreetype6-dev libjpeg62-turbo-dev libpng-dev libxpm-dev libwebp-dev" ; \
6161
apt-get install -y --no-install-recommends $temp_package ; \
6262
docker-php-ext-configure gd --enable-gd --with-webp --with-jpeg --with-xpm --with-freetype ; \
@@ -65,7 +65,7 @@ RUN \
6565
rm -rf /var/lib/apt/lists/* ; \
6666
#php -i | grep 'GD' ; \
6767
else \
68-
PHP_EXTENSIONS_LIST="$PHP_EXTENSIONS_LIST gd" ; \
68+
PHP_EXTENSIONS_LIST="$PHP_EXTENSIONS_LIST gd imap" ; \
6969
fi ; \
7070
# bugfix/workarround: https://packages.debian.org/search?suite=default&section=all&arch=any&searchon=names&keywords=libmemcachedutil2
7171
DISTRO="$(cat /etc/os-release | grep -E ^ID= | cut -d = -f 2)" ; \

0 commit comments

Comments
 (0)