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

Feature Request/Idea: Add psql to the configbaker image #10487

Closed
vera opened this issue Apr 12, 2024 · 2 comments · Fixed by #10488
Closed

Feature Request/Idea: Add psql to the configbaker image #10487

vera opened this issue Apr 12, 2024 · 2 comments · Fixed by #10488
Labels
Component: Containers Anything related to cloudy Dataverse, shipped in containers. Type: Feature a feature request User Role: Sysadmin Installs, upgrades, and configures the system, connects via ssh
Milestone

Comments

@vera
Copy link
Contributor

vera commented Apr 12, 2024

Overview of the Feature Request

We would like psql to be added to the configbaker image, so psql commands can be used during initial setup of Dataverse.

What inspired the request?

We are using the configbaker image for a bootstrap pod in our Kubernetes setup. We would like to create our own custom generateIdentifierFromStoredProcedure function within Postgres as part of the bootstrapping. However, we can't connect to the Postgres and run the CREATE command from the bootstrap pod, since the image doesn't have psql available.

@vera vera added the Type: Feature a feature request label Apr 12, 2024
@pdurbin pdurbin added User Role: Sysadmin Installs, upgrades, and configures the system, connects via ssh Component: Containers Anything related to cloudy Dataverse, shipped in containers. labels Apr 12, 2024
@pdurbin
Copy link
Member

pdurbin commented Apr 12, 2024

@vera sure, @poikilotherm and I have no objection. From the discussion in Zulip at https://dataverse.zulipchat.com/#narrow/stream/375812-containers/topic/add.20psql.20to.20configbaker/near/432869945 it sound like the package can be added to ARG APK_PACKAGES="curl bind-tools netcat-openbsd jq bash dumb-init wait4x ed" at https://github.com/IQSS/dataverse/blob/v6.2/modules/container-configbaker/Dockerfile#L24

Would you like to make a pull request?

@johannes-darms
Copy link
Contributor

Done #10488 :)

@pdurbin pdurbin added this to the 6.3 milestone Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Containers Anything related to cloudy Dataverse, shipped in containers. Type: Feature a feature request User Role: Sysadmin Installs, upgrades, and configures the system, connects via ssh
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants