spilo icon indicating copy to clipboard operation
spilo copied to clipboard

Question about spilo base OS

Open olivejing opened this issue 2 years ago • 3 comments

Hi expert,

From postgres-appliance/Dockerfile, it uses ubuntu as base OS, Does it support Centos or Rocky as base OS?

olivejing avatar Jul 27 '22 07:07 olivejing

No, it doesn't

hughcapet avatar Jul 27 '22 07:07 hughcapet

Thanks for your response. Another question, i need to use centos/rocky as base to rebuild spilo image. If i modify some commands in Dockerfile to adapt centos, does it work? From postgres-appliance/dependencies/debs, there are two files: libgdal20_2.2.3+dfsg-2_amd64.deb and libgdal20_2.2.3+dfsg-2_arm64.deb, is there any impact to my rebuild with centos as base?

olivejing avatar Jul 28 '22 08:07 olivejing

Well, you will maybe need to modify a lot... But I encourage you to try and contribute:)

libgdal is required for postgis and is prebuilt without certain dependencies. We don't do this during the docker image build because it takes too much time. So you will anyway need to get this dependency for CentOS, but it is up to you, which way to choose

hughcapet avatar Jul 28 '22 15:07 hughcapet

@hughcapet, piggybacking this, how about the Ubuntu version. Are there any plans on moving away from 18.04 LTS to a newer version? Like 20 LTS or 22 LTS?

v4nTh3M4n avatar Aug 24 '22 08:08 v4nTh3M4n

@v4nTh3M4n have you already seen https://wiki.postgresql.org/wiki/Locale_data_changes ?

CyberDem0n avatar Aug 24 '22 08:08 CyberDem0n

The way I understand it is that changing the OS on existing databases will break stuff. How about new ones? Would that mean a spilo Docker image with a newer OS version will not be supported at all in the future?

v4nTh3M4n avatar Aug 24 '22 08:08 v4nTh3M4n

No, we will try to move to 22, hopefully, in the near future.

hughcapet avatar Aug 24 '22 10:08 hughcapet