From 93bef33e1f5493c95c81c9d44f34aed70880768f Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Mon, 8 Jul 2019 15:17:31 +0200 Subject: Fix ARM ca-certs (#2440) Workaround strange bug: When building on Docker Hub with QEMU, the symlinks for the CA certificates are not created properly, although it is the case when building for ARM locally. Manually calling `update-ca-certificates -f` fixes the problem. Note for later: Maybe we should call this update in our entrypoint.sh. --- Docker/Dockerfile-QEMU-ARM | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Docker') diff --git a/Docker/Dockerfile-QEMU-ARM b/Docker/Dockerfile-QEMU-ARM index 926bac98e..fb136e34e 100644 --- a/Docker/Dockerfile-QEMU-ARM +++ b/Docker/Dockerfile-QEMU-ARM @@ -52,8 +52,11 @@ RUN sed -r -i "/^\s*(CustomLog|ErrorLog|Listen) /s/^/#/" /etc/apache2/apache2.co su www-data -s /bin/sh -c 'php /var/www/FreshRSS/app/actualize_script.php' \ 2>> /proc/1/fd/2 > /tmp/FreshRSS.log" | crontab - +# Seems needed for arm32v7/ubuntu on Docker Hub +RUN update-ca-certificates -f + # Useful with the `--squash` build option -RUN rm /usr/bin/qemu-* +RUN rm /usr/bin/qemu-* /var/www/FreshRSS/Docker/qemu-* ENV COPY_SYSLOG_TO_STDERR On ENV CRON_MIN '' -- cgit v1.2.3