Skip to content

Commit

Permalink
Jm 7699 (#213)
Browse files Browse the repository at this point in the history
* switch to ACR cached image

* set as final
  • Loading branch information
Ianrfisher authored Jul 2, 2024
1 parent c388671 commit b00dc75
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,19 @@

import org.flywaydb.core.Flyway;
import org.testcontainers.containers.PostgreSQLContainer;
import org.testcontainers.utility.DockerImageName;

import java.util.List;

public class PostgresqlContainer extends PostgreSQLContainer<PostgresqlContainer> {

private static final String IMAGE_VERSION = "postgres:16-alpine";
private static final DockerImageName dockerImageName = DockerImageName
.parse("hmctspublic.azurecr.io/imported/postgres:16-alpine")
.asCompatibleSubstituteFor("postgres");
private static PostgresqlContainer container;

private PostgresqlContainer() {
super(IMAGE_VERSION);
super(dockerImageName);
setup();
}

Expand Down

0 comments on commit b00dc75

Please sign in to comment.