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

Improve the way to copy postgres library #54

Merged
merged 20 commits into from
Mar 7, 2024
Merged

Conversation

gkwan-ibm
Copy link
Member

addresss issue #41

@scottkurz
Copy link
Member

This looks good. So in this approach you don't even worry about copying the PostgreSQL driver during just a mvn package. You add it to the Docker build. Yet in liberty:dev mode, the driver gets copied, so we don't lose access to that use case either.

It adds a bit of complexity to the Dockerfile instead with the second stage, but simplifies the POM. If someone wanted to use a different base image to do the mvn copy they could easily switch that out.

Copy link
Contributor

@Ruilin-Ma Ruilin-Ma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested the guide end to end on Ubuntu linux VM with LMP 3.10, no issues were found.

@gkwan-ibm gkwan-ibm merged commit ee67cc4 into staging Mar 7, 2024
9 checks passed
gkwan-ibm added a commit that referenced this pull request Mar 7, 2024
Merge staging to prod - Improve the way to copy postgres library (#54)
@gkwan-ibm gkwan-ibm deleted the gkwan-ibm-issue-41 branch September 5, 2024 16:25
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.

4 participants