-
Notifications
You must be signed in to change notification settings - Fork 237
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
K8SPG-375: Install pg_repack and postgis by default #857
Conversation
egegunes
commented
Oct 24, 2023
•
edited by pull-request-badge
bot
Loading
edited by pull-request-badge
bot
CGO_ENABLED=$CGO_ENABLED GOOS=$GOOS GOARCH=$GOARCH \ | ||
make local build | ||
|
||
FROM redhat/ubi8-minimal |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we have use our postgres image as a base image
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -0,0 +1,11 @@ | |||
arg basever | |||
FROM percona/percona-postgresql-operator:${basever}-postgres |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we need to be able to set percona or perconalab
RUN set -ex; \ | ||
curl -Lf -o /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle https://yum.oracle.com/RPM-GPG-KEY-oracle-ol8; \ | ||
microdnf -y module disable postgresql; \ | ||
microdnf -y install percona-postgis33 percona-postgis33-client; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@inelpandzic are you sure that we should not add these lines:
EXPOSE 5432
ADD bin/postgres-gis /opt/crunchy/bin/postgres
ENTRYPOINT ["/opt/crunchy/bin/uid_postgres.sh"]
USER 26
CMD ["/opt/crunchy/bin/start.sh"]
Did you test it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll recheck it @hors , maybe you're right.