Closed srcarrier closed 4 years ago
did u try this on the r-pi? https://opensource.com/article/17/10/set-postgres-database-your-raspberry-pi
did u try this on the r-pi? https://opensource.com/article/17/10/set-postgres-database-your-raspberry-pi
No, but I'm curious how well this container would run in that environment.
@dixonwhitmire any suggestions for that CMD statement? ☝️ Two issues:
pgsql-12
${PGDATA}
in exec form
These are easily addressed by switching from exec form to shell, but from what I've read the exec form is preferred for CMD and ENTRYPOINT instructions.
Another option may be to add an ENTRYPOINT and pass in some of the commands via docker run.Feedback has been incorporated, thanks Dixon
This PR contributes to the resolution of LinuxForHealth/connect#59
Once built:
To test connectivity once the image is started:
Note: I've not been able to successfully build this PostgreSQL image for platforms
linux/s390x
andlinux/arm64
. Getting 404s on the following rpms: linux/s390x : https://download.postgresql.org/pub/repos/yum/common/redhat/rhel-8-s390x/repodata/repomd.xml linux/arm64 : https://download.postgresql.org/pub/repos/yum/common/redhat/rhel-8-aarch64/repodata/repomd.xmlAlso, I was not able to get the PostgreSQL image built off the ubi-minimal base image. Had to use ubi-init. Do we want different base images besides ubi-minimal or should I include some of the LABEL commands in this image?