[openstreetmap/openstreetmap-website] SSL Certificates missing in docker container (Issue #4100)
Moritz Schott
notifications at github.com
Wed Jul 19 20:15:49 UTC 2023
### URL
_No response_
### How to reproduce the issue?
Running `docker compose build` in the [Docker](https://github.com/openstreetmap/openstreetmap-website/blob/master/DOCKER.md) setup returns
```
=> ERROR [web 3/10] RUN curl -OL https://github.com/openstreetmap/osmosis/releases/download/0.47.2/osmosis-0.47.2.tgz && tar -C /usr/local -xzf osmosis-0.47.2.tgz 0.7s
------
> [web 3/10] RUN curl -OL https://github.com/openstreetmap/osmosis/releases/download/0.47.2/osmosis-0.47.2.tgz && tar -C /usr/local -xzf osmosis-0.47.2.tgz:
0.270 % Total % Received % Xferd Average Speed Time Time Time Current
0.270 Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0.640 curl: (60) SSL: no alternative certificate subject name matches target host name 'objects.githubusercontent.com'
0.640 More details here: https://curl.se/docs/sslcerts.html
0.640
0.640 curl failed to verify the legitimacy of the server and therefore could not
0.640 establish a secure connection to it. To learn more about this situation and
0.640 how to fix it, please visit the web page mentioned above.
------
failed to solve: process "/bin/sh -c curl -OL https://github.com/openstreetmap/osmosis/releases/download/0.47.2/osmosis-0.47.2.tgz && tar -C /usr/local -xzf osmosis-0.47.2.tgz" did not complete successfully: exit code: 60
```
This can be solved by installing `ca-certificates` in the docker.
### Screenshot(s) or anything else?
I will provide a PR in a few minutes.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/4100
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/issues/4100 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20230719/7e91d414/attachment.htm>
More information about the rails-dev
mailing list