Skip to content

Commit

Permalink
DBZ-8564 Use static container version
Browse files Browse the repository at this point in the history
Docker Hub is no longer contacted for image version calculation so the
code uses a static one
  • Loading branch information
jpechane committed Jan 10, 2025
1 parent 4e11a91 commit 18d319f
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,14 @@
import com.github.dockerjava.api.command.InspectContainerResponse;

import io.debezium.server.Images;
import io.debezium.testing.testcontainers.util.ContainerImageVersions;

/**
* rocketmq container
*/
public class RocketMqContainer extends GenericContainer<RocketMqContainer> {
private static final Logger LOGGER = LoggerFactory.getLogger(RocketMqContainer.class);

private static final String ROCKETMQ_VERSION = ContainerImageVersions.getStableVersion("apache/rocketmq", ContainerImageVersions.NUMBERS_ONLY_VERSION_REGEX_PATTERN);
private static final String ROCKETMQ_VERSION = "5.3.1";
private static final DockerImageName DEFAULT_IMAGE_NAME = DockerImageName
.parse(Images.ROCKETMQ_IMAGE + ":" + ROCKETMQ_VERSION);
private static final int defaultBrokerPermission = 6;
Expand Down

0 comments on commit 18d319f

Please sign in to comment.