Skip to content

Commit 5933e83

Browse files
committed
Reverts example dockerfiles
1 parent cffdaae commit 5933e83

13 files changed

Lines changed: 12 additions & 13 deletions

File tree

  • basyx.aasdigitaltwinregistry/basyx.digitaltwinregistry.component
  • basyx.aasregistry
    • basyx.aasregistry-feature-hierarchy-example/src/main/docker
    • basyx.aasregistry-service-release-kafka-mem/src/main/docker
    • basyx.aasregistry-service-release-kafka-mongodb/src/main/docker
    • basyx.aasregistry-service-release-log-mem/src/main/docker
    • basyx.aasregistry-service-release-log-mongodb/src/main/docker
  • basyx.submodelregistry
    • basyx.submodelregistry-feature-hierarchy-example/src/main/docker
    • basyx.submodelregistry-service-release-kafka-mem/src/main/docker
    • basyx.submodelregistry-service-release-kafka-mongodb/src/main/docker
    • basyx.submodelregistry-service-release-log-mem/src/main/docker
    • basyx.submodelregistry-service-release-log-mongodb/src/main/docker
  • basyx.submodelservice

basyx.aasdigitaltwinregistry/basyx.digitaltwinregistry.component/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ EXPOSE ${SERVER_PORT}
2222
HEALTHCHECK --interval=30s --timeout=3s --retries=3 --start-period=15s \
2323
CMD curl --fail http://localhost:${SERVER_PORT}${SERVER_SERVLET_CONTEXT_PATH%/}/actuator/health || exit 1
2424

25-
ENTRYPOINT exec java $JAVA_OPTS -Djava.security.egd=file:/dev/./urandom -jar basyxExecutable.jar
25+
ENTRYPOINT exec java $JAVA_OPTS -Djava.security.egd=file:/dev/./urandom -jar basyxExecutable.jar

basyx.aasregistry/basyx.aasregistry-feature-hierarchy-example/src/main/docker/Dockerfile

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,8 @@
11
FROM eclipse-temurin:17 as builder
2-
ARG HTTP_PROXY
3-
ARG HTTPS_PROXY
42
COPY maven/${project.build.finalName}.jar ./
53
RUN java -Djarmode=layertools -jar ${project.build.finalName}.jar extract
64

75
FROM eclipse-temurin:17
8-
ARG HTTP_PROXY
9-
ARG HTTPS_PROXY
10-
RUN apt-get update && apt-get install -y ca-certificates && rm -rf /var/lib/apt/lists/*
116
RUN mkdir /workspace
127
WORKDIR /workspace
138
COPY --from=builder dependencies/ ./
@@ -23,3 +18,4 @@ ENV SERVER_SERVLET_CONTEXT_PATH=${CONTEXT_PATH}
2318
EXPOSE ${SERVER_PORT}
2419
HEALTHCHECK --interval=30s --timeout=3s --retries=3 --start-period=15s CMD curl --fail http://localhost:${SERVER_PORT}${SERVER_SERVLET_CONTEXT_PATH%/}/actuator/health || exit 1
2520
ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/.urandom", "org.springframework.boot.loader.launch.JarLauncher"]
21+

basyx.aasregistry/basyx.aasregistry-service-release-kafka-mem/src/main/docker/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,4 @@ ENV SERVER_SERVLET_CONTEXT_PATH=${CONTEXT_PATH}
2424
EXPOSE ${SERVER_PORT}
2525
HEALTHCHECK --interval=30s --timeout=3s --retries=3 --start-period=15s CMD curl --fail http://localhost:${SERVER_PORT}${SERVER_SERVLET_CONTEXT_PATH%/}/actuator/health || exit 1
2626
ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/.urandom", "org.springframework.boot.loader.launch.JarLauncher"]
27+

basyx.aasregistry/basyx.aasregistry-service-release-kafka-mongodb/src/main/docker/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,4 @@ ENV SERVER_SERVLET_CONTEXT_PATH=${CONTEXT_PATH}
2424
EXPOSE ${SERVER_PORT}
2525
HEALTHCHECK --interval=30s --timeout=3s --retries=3 --start-period=15s CMD curl --fail http://localhost:${SERVER_PORT}${SERVER_SERVLET_CONTEXT_PATH%/}/actuator/health || exit 1
2626
ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/.urandom", "org.springframework.boot.loader.launch.JarLauncher"]
27+

basyx.aasregistry/basyx.aasregistry-service-release-log-mem/src/main/docker/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,4 @@ ENV SERVER_SERVLET_CONTEXT_PATH=${CONTEXT_PATH}
2424
EXPOSE ${SERVER_PORT}
2525
HEALTHCHECK --interval=30s --timeout=3s --retries=3 --start-period=15s CMD curl --fail http://localhost:${SERVER_PORT}${SERVER_SERVLET_CONTEXT_PATH%/}/actuator/health || exit 1
2626
ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/.urandom", "org.springframework.boot.loader.launch.JarLauncher"]
27+

basyx.aasregistry/basyx.aasregistry-service-release-log-mongodb/src/main/docker/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,4 @@ ENV SERVER_SERVLET_CONTEXT_PATH=${CONTEXT_PATH}
2424
EXPOSE ${SERVER_PORT}
2525
HEALTHCHECK --interval=30s --timeout=3s --retries=3 --start-period=15s CMD curl --fail http://localhost:${SERVER_PORT}${SERVER_SERVLET_CONTEXT_PATH%/}/actuator/health || exit 1
2626
ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/.urandom", "org.springframework.boot.loader.launch.JarLauncher"]
27+

basyx.submodelregistry/basyx.submodelregistry-feature-hierarchy-example/src/main/docker/Dockerfile

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,8 @@
11
FROM eclipse-temurin:17 as builder
2-
ARG HTTP_PROXY
3-
ARG HTTPS_PROXY
42
COPY maven/${project.build.finalName}.jar ./
53
RUN java -Djarmode=layertools -jar ${project.build.finalName}.jar extract
64

75
FROM eclipse-temurin:17
8-
ARG HTTP_PROXY
9-
ARG HTTPS_PROXY
10-
RUN apt-get update && apt-get install -y ca-certificates && rm -rf /var/lib/apt/lists/*
116
RUN mkdir /workspace
127
WORKDIR /workspace
138
COPY --from=builder dependencies/ ./
@@ -23,3 +18,4 @@ ENV SERVER_SERVLET_CONTEXT_PATH=${CONTEXT_PATH}
2318
EXPOSE ${SERVER_PORT}
2419
HEALTHCHECK --interval=30s --timeout=3s --retries=3 --start-period=15s CMD curl --fail http://localhost:${SERVER_PORT}${SERVER_SERVLET_CONTEXT_PATH%/}/actuator/health || exit 1
2520
ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/.urandom", "org.springframework.boot.loader.launch.JarLauncher"]
21+

basyx.submodelregistry/basyx.submodelregistry-service-release-kafka-mem/src/main/docker/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,4 @@ ENV SERVER_SERVLET_CONTEXT_PATH=${CONTEXT_PATH}
2424
EXPOSE ${SERVER_PORT}
2525
HEALTHCHECK --interval=30s --timeout=3s --retries=3 --start-period=15s CMD curl --fail http://localhost:${SERVER_PORT}${SERVER_SERVLET_CONTEXT_PATH%/}/actuator/health || exit 1
2626
ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/.urandom", "org.springframework.boot.loader.launch.JarLauncher"]
27+

basyx.submodelregistry/basyx.submodelregistry-service-release-kafka-mongodb/src/main/docker/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,4 @@ ENV SERVER_SERVLET_CONTEXT_PATH=${CONTEXT_PATH}
2424
EXPOSE ${SERVER_PORT}
2525
HEALTHCHECK --interval=30s --timeout=3s --retries=3 --start-period=15s CMD curl --fail http://localhost:${SERVER_PORT}${SERVER_SERVLET_CONTEXT_PATH%/}/actuator/health || exit 1
2626
ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/.urandom", "org.springframework.boot.loader.launch.JarLauncher"]
27+

basyx.submodelregistry/basyx.submodelregistry-service-release-log-mem/src/main/docker/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,4 @@ ENV SERVER_SERVLET_CONTEXT_PATH=${CONTEXT_PATH}
2424
EXPOSE ${SERVER_PORT}
2525
HEALTHCHECK --interval=30s --timeout=3s --retries=3 --start-period=15s CMD curl --fail http://localhost:${SERVER_PORT}${SERVER_SERVLET_CONTEXT_PATH%/}/actuator/health || exit 1
2626
ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/.urandom", "org.springframework.boot.loader.launch.JarLauncher"]
27+

0 commit comments

Comments
 (0)