Skip to content

Update Docker image tags referenced in Java source files (helpful when using Localstack) #8075

Closed as not planned
@kesslerj

Description

@kesslerj

Is there an existing issue for this?

  • I have searched the existing issues

Feature description

We use Localstack when testing our Spring Boot applications to have AWS resources available in Docker containers. We are used to using Dependabot everywhere in the project to update dependencies. Now we've stumbled across that it doesn't seem to be supported to update Docker image tags referenced in Java code.

Here is a simple example snippet: If it helps, I'm also happy to provide an example repository.

  private static final LocalStackContainer localStackContainer;

  static {
    localStackContainer = new LocalStackContainer(DockerImageName.parse("localstack/localstack:2.2.0"))
        .withServices(LocalStackContainer.Service.KMS)
        .withEnv("AWS_DEFAULT_REGION", "eu-central-1");
    localStackContainer.start();
  }

I found some other feature requests/issues that also suggest Docker image tag support in other places. The latest ticket seems to me to be this one, which also links the other tickets: #7189

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions