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

GROUP-105 Add AWS RDS certificate file to container #38

Merged
merged 1 commit into from
Jun 25, 2024

Conversation

makmn1
Copy link
Member

@makmn1 makmn1 commented Jun 25, 2024

Description of Changes

The previous PR (#37) for GROUP-105 incorrectly specified a binding to the bootBuildImage task. The goal was to add the certificate through this binding, but files added through this binding are only present while the image is being built.

To persist the certificate in the image, a separate Dockerfile in the project directory was added. This file takes the image created by the bootBuildImage task and adds another layer to it. The layer simply pulls the certificate from the URL and adds it to the path expected by Spring Data (at /home/cnb/.postgres).

@makmn1 makmn1 self-assigned this Jun 25, 2024
@makmn1 makmn1 merged commit 90b7288 into main Jun 25, 2024
2 checks passed
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.

1 participant