Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update postgis version due to docker build failures #1045

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ShivangGoswami
Copy link

@ShivangGoswami ShivangGoswami commented Nov 5, 2024

Solution for #1044 and #1040

Updating posts version to 3.5 fixes build issues

Docker Command:

root@spilo:~/spilo/postgres-appliance# docker build --build-arg DEMO=false --build-arg TIMESCALEDB_TOOLKIT=true --build-arg TIMESCALEDB_APACHE_ONLY=false . --no-cache

Output:

root@spilo:~/spilo/postgres-appliance# docker build --build-arg DEMO=false --build-arg TIMESCALEDB_TOOLKIT=true --build-arg TIMESCALEDB_APACHE_ONLY=false . --no-cache

Sending build context to Docker daemon  11.59MB
Step 1/65 : ARG BASE_IMAGE=ubuntu:22.04
Step 2/65 : ARG PGVERSION=16
Step 3/65 : ARG TIMESCALEDB="2.11.2 2.14.2"
Step 4/65 : ARG DEMO=false
Step 5/65 : ARG COMPRESS=false
Step 6/65 : ARG ADDITIONAL_LOCALES=
Step 7/65 : FROM ubuntu:18.04 as ubuntu-18
....
+ [ false != true ]
+ chmod 664 /etc/passwd
+ chmod o+r /etc/shadow
+ chgrp -R 0 /home/postgres /run
+ chmod -R g=u /home/postgres /run
+ usermod -a -G root postgres
Removing intermediate container c893446d2072
 ---> a4da370db128
Step 63/65 : COPY scripts bootstrap major_upgrade /scripts/
 ---> b72f3ecad55d
Step 64/65 : COPY launch.sh /
 ---> 314d1f5bab45
Step 65/65 : CMD ["/bin/sh", "/launch.sh", "init"]
 ---> Running in 2785c31943c3
Removing intermediate container 2785c31943c3
 ---> d5577254954e
Successfully built d5577254954e

@ShivangGoswami
Copy link
Author

@FxKu @hughcapet can you please review this ?

@FxKu
Copy link
Member

FxKu commented Nov 5, 2024

Somebody mentioned PostGIS and me in one PR 😃 ? Will have a look tomorrow.

@FxKu FxKu added the bugfix Bug fixes and patches, e.g. fixing of a production issue that is affecting the customer experience. label Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix Bug fixes and patches, e.g. fixing of a production issue that is affecting the customer experience.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants