aboutsummaryrefslogtreecommitdiff
path: root/Docker
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2019-07-08 15:17:31 +0200
committerGravatar GitHub <noreply@github.com> 2019-07-08 15:17:31 +0200
commit93bef33e1f5493c95c81c9d44f34aed70880768f (patch)
treefd01a888fb48848fefb87f9a7e0b9eac89be9954 /Docker
parentaf8b39a20444b16365c144c10ae5e58d08857bc0 (diff)
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.
Diffstat (limited to 'Docker')
-rw-r--r--Docker/Dockerfile-QEMU-ARM5
1 files changed, 4 insertions, 1 deletions
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 ''