Skip to content

Commit ac705f5

Browse files
authored
Add proxy build argument to dockerfiles (#533)
* Add proxy build argument to dockerfiles * Fix missing newline
1 parent f51da9e commit ac705f5

File tree

22 files changed

+64
-3
lines changed
  • basyx.aasdiscoveryservice/basyx.aasdiscoveryservice.component
  • basyx.aasenvironment/basyx.aasenvironment.component
  • basyx.aasregistry
    • 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.aasrepository/basyx.aasrepository.component
  • basyx.aasxfileserver/basyx.aasxfileserver.component
  • basyx.conceptdescriptionrepository/basyx.conceptdescriptionrepository.component
  • basyx.submodelregistry
    • 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.submodelrepository/basyx.submodelrepository.component
  • basyx.submodelservice/basyx.submodelservice.example
  • ci/keycloak
  • examples

22 files changed

+64
-3
lines changed

basyx.aasdiscoveryservice/basyx.aasdiscoveryservice.component/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
FROM eclipse-temurin:17
2+
ARG HTTP_PROXY
3+
ARG HTTPS_PROXY
24
USER nobody
35
WORKDIR /application
46
ARG JAR_FILE=target/*-exec.jar

basyx.aasenvironment/basyx.aasenvironment.component/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
FROM eclipse-temurin:17
2+
ARG HTTP_PROXY
3+
ARG HTTPS_PROXY
24
USER nobody
35
WORKDIR /application
46
ARG JAR_FILE=target/*-exec.jar

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
FROM eclipse-temurin:17 as builder
2+
ARG HTTP_PROXY
3+
ARG HTTPS_PROXY
24
ARG FINAL_NAME=${project.build.finalName}
35
COPY maven/${FINAL_NAME}.jar ./
46
RUN java -Djarmode=layertools -jar ${FINAL_NAME}.jar extract

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
FROM eclipse-temurin:17 as builder
2+
ARG HTTP_PROXY
3+
ARG HTTPS_PROXY
24
ARG FINAL_NAME=${project.build.finalName}
35
COPY maven/${FINAL_NAME}.jar ./
46
RUN java -Djarmode=layertools -jar ${FINAL_NAME}.jar extract
57

68
FROM eclipse-temurin:17
9+
ARG HTTP_PROXY
10+
ARG HTTPS_PROXY
711
RUN mkdir /workspace
812
WORKDIR /workspace
913
COPY --from=builder dependencies/ ./

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
FROM eclipse-temurin:17 as builder
2+
ARG HTTP_PROXY
3+
ARG HTTPS_PROXY
24
ARG FINAL_NAME=${project.build.finalName}
35
COPY maven/${FINAL_NAME}.jar ./
46
RUN java -Djarmode=layertools -jar ${FINAL_NAME}.jar extract
57

68
FROM eclipse-temurin:17
9+
ARG HTTP_PROXY
10+
ARG HTTPS_PROXY
711
RUN mkdir /workspace
812
WORKDIR /workspace
913
COPY --from=builder dependencies/ ./

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
FROM eclipse-temurin:17 as builder
2+
ARG HTTP_PROXY
3+
ARG HTTPS_PROXY
24
ARG FINAL_NAME=${project.build.finalName}
35
COPY maven/${FINAL_NAME}.jar ./
46
RUN java -Djarmode=layertools -jar ${FINAL_NAME}.jar extract
57

68
FROM eclipse-temurin:17
9+
ARG HTTP_PROXY
10+
ARG HTTPS_PROXY
711
RUN mkdir /workspace
812
WORKDIR /workspace
913
COPY --from=builder dependencies/ ./

basyx.aasrepository/basyx.aasrepository.component/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
FROM eclipse-temurin:17
2+
ARG HTTP_PROXY
3+
ARG HTTPS_PROXY
24
USER nobody
35
WORKDIR /application
46
ARG JAR_FILE=target/*-exec.jar

basyx.aasxfileserver/basyx.aasxfileserver.component/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
FROM eclipse-temurin:17
2+
ARG HTTP_PROXY
3+
ARG HTTPS_PROXY
24
USER nobody
35
WORKDIR /application
46
ARG JAR_FILE=target/*-exec.jar

basyx.conceptdescriptionrepository/basyx.conceptdescriptionrepository.component/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
FROM eclipse-temurin:17
2+
ARG HTTP_PROXY
3+
ARG HTTPS_PROXY
24
USER nobody
35
WORKDIR /application
46
ARG JAR_FILE=target/*-exec.jar

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
FROM eclipse-temurin:17 as builder
2+
ARG HTTP_PROXY
3+
ARG HTTPS_PROXY
24
ARG FINAL_NAME=${project.build.finalName}
35
COPY maven/${FINAL_NAME}.jar ./
46
RUN java -Djarmode=layertools -jar ${FINAL_NAME}.jar extract
57

68
FROM eclipse-temurin:17
9+
ARG HTTP_PROXY
10+
ARG HTTPS_PROXY
711
RUN mkdir /workspace
812
WORKDIR /workspace
913
COPY --from=builder dependencies/ ./

0 commit comments

Comments
 (0)