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

[Docker] Update docker images used within the codebase #6893

Open
1 task done
yeikel opened this issue Mar 22, 2023 · 1 comment
Open
1 task done

[Docker] Update docker images used within the codebase #6893

yeikel opened this issue Mar 22, 2023 · 1 comment
Labels
L: docker Docker containers T: feature-request Requests for new features

Comments

@yeikel
Copy link
Contributor

yeikel commented Mar 22, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Feature description

Disclaimer

This is probably very difficult to implement given all the different files these could be stored. I am logging it to hear your thoughts and to see if there are possible ways to do this

Background

While using testcontainers, it is common to define docker images using the following syntax:

// Referring directly to an image on Docker Hub (mysql:8.0.24)
final MySQLContainer<?> mysql = new MySQLContainer<>(
    DockerImageName.parse("mysql:8.0.24")
)

final MySQLContainer<?> mysql = new MySQLContainer<>(
    DockerImageName.parse("registry.mycompany.com/mirror/mysql:8.0.24")
        .asCompatibleSubstituteFor("mysql")
)

It would be ideal if dependabot could detect and update them

if parsing all files is too expensive, maybe we could configure specific files to scan.

@yeikel yeikel added the T: feature-request Requests for new features label Mar 22, 2023
@jeffwidman jeffwidman added the L: docker Docker containers label Mar 28, 2023
@yeikel yeikel changed the title [Docker] Update testcontainers images used within the codebase [Docker] Update docker images used within the codebase Oct 16, 2023
@apupier
Copy link

apupier commented Aug 21, 2024

If others interested, I guess it would need to add more options/code to the "Docker" ecosystem https://github.com/dependabot/dependabot-core/tree/main/docker/lib/dependabot/docker

I'm wondering if searching in Properties file can be a good first iteration. I think it is relatively common to extract the versions in these files and it would allow a simpler parsing. We might even force a convention to search for the container value, like container.* or *.container property key.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
L: docker Docker containers T: feature-request Requests for new features
Projects
None yet
Development

No branches or pull requests

3 participants