From a510412aa3cb7564f0e5b480b7d6f204b7498c92 Mon Sep 17 00:00:00 2001 From: Michal Somora Date: Mon, 20 Nov 2023 15:19:24 +0100 Subject: [PATCH] fix: mockserver image overriding option --- .../mockserver/devservices/DevServicesMockServerProcessor.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deployment/src/main/java/io/quarkiverse/mockserver/devservices/DevServicesMockServerProcessor.java b/deployment/src/main/java/io/quarkiverse/mockserver/devservices/DevServicesMockServerProcessor.java index 5c776dd..17924df 100644 --- a/deployment/src/main/java/io/quarkiverse/mockserver/devservices/DevServicesMockServerProcessor.java +++ b/deployment/src/main/java/io/quarkiverse/mockserver/devservices/DevServicesMockServerProcessor.java @@ -149,7 +149,8 @@ private DevServicesResultBuildItem.RunningDevService startContainer(DockerStatus return null; } - DockerImageName dockerImageName = DockerImageName.parse(devServicesConfig.imageName.orElse(DEFAULT_IMAGE)); + DockerImageName dockerImageName = DockerImageName.parse(devServicesConfig.imageName.orElse(DEFAULT_IMAGE)) + .asCompatibleSubstituteFor("mockserver/mockserver"); Supplier defaultMockServerSupplier = () -> { QuarkusPortMockServerContainer container = new QuarkusPortMockServerContainer(dockerImageName,