Skip to content

Commit bb3ce87

Browse files
authored
Fixes Problem with maven CLI in Submodel Service when using buildx (#725)
1 parent f619d5a commit bb3ce87

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • basyx.submodelservice/basyx.submodelservice.component

basyx.submodelservice/basyx.submodelservice.component/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Stage 1: Download the AAS4J dependency
2-
FROM maven:3.9-eclipse-temurin-17 AS maven-downloader
2+
FROM --platform=$BUILDPLATFORM maven:3.9-eclipse-temurin-17 AS maven-downloader
33
ARG AAS4J_VERSION=1.0.4
44
WORKDIR /download
55
RUN mvn -B org.apache.maven.plugins:maven-dependency-plugin:3.6.0:get \
@@ -30,4 +30,4 @@ EXPOSE ${SERVER_PORT}
3030
HEALTHCHECK --interval=10s --timeout=3s --retries=10 --start-period=5s \
3131
CMD curl --fail http://localhost:${SERVER_PORT}${SERVER_SERVLET_CONTEXT_PATH%/}/actuator/health || exit 1
3232

33-
ENTRYPOINT ["java", "-jar", "basyxExecutable.jar"]
33+
ENTRYPOINT ["java", "-jar", "basyxExecutable.jar"]

0 commit comments

Comments
 (0)