pgRouting / docker-pgrouting

Docker for pgRouting
https://hub.docker.com/repository/docker/pgrouting/pgrouting
GNU General Public License v2.0
64 stars 34 forks source link

Does it support the installation of Alpine basic image? #46

Open wmabcde opened 2 years ago

wmabcde commented 2 years ago

Problem

Does it support the installation of Alpine basic image? Both Postgres and PostGIS support the installation under the alpine basic image. If so, what do I need to do? To Reproduce

Expectation

Sample Data

Platform/versions

SELECT version();
SELECT postgis_full_version();
SELECT pgr_version();
cayetanobv commented 2 years ago

Hi @wmabcde . You can change in the Dockerfile the first line FROM postgis/postgis:13-3.1 by FROM postgis/postgis:13-3.1-alpine.

wmabcde commented 2 years ago

Hi @wmabcde . You can change in the Dockerfile the first line FROM postgis/postgis:13-3.1 by FROM postgis/postgis:13-3.1-alpine.

But the current dockerfile is all Debian commands (APT). What software do I need to install to compile and install it?

dkastl commented 2 years ago

Just curious, but why do you need to use the Alpine image?

cayetanobv commented 2 years ago

Yes, you need to change these commands too.

El jue., 18 nov. 2021 4:42, wmabcde @.***> escribió:

Hi @wmabcde https://github.com/wmabcde . You can change in the Dockerfile the first line FROM postgis/postgis:13-3.1 by FROM postgis/postgis:13-3.1-alpine.

But the current dockerfile is all Debian commands (APT). What software do I need to install to compile and install it?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/pgRouting/docker-pgrouting/issues/46#issuecomment-972491291, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABXZ7MY7CJ4APJKWFDQMH43UMRYZLANCNFSM5IGNFCMA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

wmabcde commented 2 years ago

Just curious, but why do you need to use the Alpine image?

The software version is not the latest version provided by the manufacturer, and there is a CVE vulnerability

cayetanobv commented 2 years ago

I want to update to Postgres 14 in the next weeks. Postgres 14 Dockerfile is built using Debian 11, which is the last Debian version.