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

Use Chainguard's Wolfi base image by default #927

Merged
merged 5 commits into from
Jan 30, 2024
Merged

Conversation

alvarosanchez
Copy link
Member

This PR uses cgr.dev/chainguard/wolfi-base:latest as the default base image for all CPU architectures, not only for ARM, since it is multi-platform and a bit smaller than frolvlad/alpine-glibc

This PR uses `cgr.dev/chainguard/wolfi-base:latest` as the default base image for all CPU architectures, not only for ARM, since it is multi-platform and a bit smaller than `frolvlad/alpine-glibc`
@@ -16,3 +16,7 @@ datasources:
# driverClassName: org.postgresql.Driver
# schema-generate: CREATE_DROP
# dialect: POSTGRES
test-resources:

Choose a reason for hiding this comment

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

Sorry for interfering, just to ask can you try using test-containers 1.19.4 in this PR, maybe these mysql overrides won't be needed?
https://github.com/testcontainers/testcontainers-java/releases/tag/1.19.4 contains fix for MySQL it seems.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Yes, I plan to test that version, but not in that PR, reason being that it's driven by test resources, not the Gradle plugin.

Choose a reason for hiding this comment

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

Ah, sorry, I assume it is test-resources as soon as I see your name:)

Copy link

@melix melix merged commit 484d64a into master Jan 30, 2024
7 checks passed
@melix melix deleted the default_base_image branch January 30, 2024 14:17
melix added a commit to micronaut-projects/micronaut-test-resources that referenced this pull request Jan 30, 2024
melix added a commit to micronaut-projects/micronaut-test-resources that referenced this pull request Jan 30, 2024
* Upgrade testcontainers dependency

This should fix the problem with the mysql:latest image not being
compatible, as seen in several places like

micronaut-projects/micronaut-gradle-plugin#927
or micronaut-projects/micronaut-test#936
or https://github.com/micronaut-projects/micronaut-test-resources/pull/503/files

* Revert testcontainers redis dependency

As it is a breaking change
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants