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

run postunpack.sh for postgres #14049

Merged
merged 1 commit into from
Mar 5, 2024

Conversation

developer-guy
Copy link
Member

@developer-guy developer-guy commented Mar 4, 2024

Fixes:

We (w/@Dentrax) realized that our postgres bitnami image is having an issue like this during the start up:

cp: can't stat '/opt/bitnami/postgresql/conf.default/.': No such file or directory

We found the following line in their Dockerfile that creates the necessary files for us:

https://github.com/bitnami/containers/blob/50f700046dc1cd8043f81103ef1fef11ea736cf4/bitnami/postgresql/15/debian-12/Dockerfile#L53

So, this PR aims to fix this issue.

Related:

Pre-review Checklist

For new package PRs only

  • This PR is marked as fixing a pre-existing package request bug
    • Alternatively, the PR is marked as related to a pre-existing package request bug, such as a dependency
  • REQUIRED - The package is available under an OSI-approved or FSF-approved license
  • REQUIRED - The version of the package is still receiving security updates
  • This PR links to the upstream project's support policy (e.g. endoflife.date)

For new version streams

  • The upstream project actually supports multiple concurrent versions.
  • Any subpackages include the version string in their package name (e.g. name: ${{package.name}}-compat)
  • The package (and subpackages) provides: logical unversioned forms of the package (e.g. nodejs, nodejs-lts)

For security-related PRs

  • The security fix is recorded in the advisories repo

For version bump PRs

  • The epoch field is reset to 0

For PRs that add patches

  • Patch source is documented

@developer-guy developer-guy force-pushed the feat/bump-postgres branch 2 times, most recently from 453a092 to 32aaa67 Compare March 4, 2024 16:53
Signed-off-by: Batuhan Apaydin <[email protected]>
Co-authored-by: Furkan Turkal <[email protected]>
Signed-off-by: Batuhan Apaydin <[email protected]>
@EyeCantCU EyeCantCU merged commit 9192ed1 into wolfi-dev:main Mar 5, 2024
8 checks passed
@developer-guy
Copy link
Member Author

I created a second PR because I was assuming this PR is going to fix issue but I made mistakes, so, #14099 created this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants