diff options
| author | 2019-07-08 15:17:31 +0200 | |
|---|---|---|
| committer | 2019-07-08 15:17:31 +0200 | |
| commit | 93bef33e1f5493c95c81c9d44f34aed70880768f (patch) | |
| tree | fd01a888fb48848fefb87f9a7e0b9eac89be9954 | |
| parent | af8b39a20444b16365c144c10ae5e58d08857bc0 (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.
| -rw-r--r-- | Docker/Dockerfile-QEMU-ARM | 5 |
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 '' |
