Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
FROM eclipse-temurin:17
ARG HTTP_PROXY
ARG HTTPS_PROXY
RUN apt-get update && apt-get install -y ca-certificates && rm -rf /var/lib/apt/lists/*
USER nobody
WORKDIR /application
ARG JAVA_OPTS
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
FROM eclipse-temurin:17
ARG HTTP_PROXY
ARG HTTPS_PROXY
RUN apt-get update && apt-get install -y ca-certificates && rm -rf /var/lib/apt/lists/*
USER nobody
WORKDIR /application
ARG JAR_FILE=target/*-exec.jar
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
FROM eclipse-temurin:17
ARG HTTP_PROXY
ARG HTTPS_PROXY
RUN apt-get update && apt-get install -y ca-certificates && rm -rf /var/lib/apt/lists/*
USER nobody
WORKDIR /application
ARG JAR_FILE=target/*-exec.jar
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ COPY maven/${FINAL_NAME}.jar ./
RUN java -Djarmode=layertools -jar ${FINAL_NAME}.jar extract

FROM eclipse-temurin:17
ARG HTTP_PROXY
ARG HTTPS_PROXY
RUN apt-get update && apt-get install -y ca-certificates && rm -rf /var/lib/apt/lists/*
RUN mkdir /workspace
WORKDIR /workspace
COPY --from=builder dependencies/ ./
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ RUN java -Djarmode=layertools -jar ${FINAL_NAME}.jar extract
FROM eclipse-temurin:17
ARG HTTP_PROXY
ARG HTTPS_PROXY
RUN apt-get update && apt-get install -y ca-certificates && rm -rf /var/lib/apt/lists/*
RUN mkdir /workspace
WORKDIR /workspace
COPY --from=builder dependencies/ ./
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ RUN java -Djarmode=layertools -jar ${FINAL_NAME}.jar extract
FROM eclipse-temurin:17
ARG HTTP_PROXY
ARG HTTPS_PROXY
RUN apt-get update && apt-get install -y ca-certificates && rm -rf /var/lib/apt/lists/*
RUN mkdir /workspace
WORKDIR /workspace
COPY --from=builder dependencies/ ./
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ RUN java -Djarmode=layertools -jar ${FINAL_NAME}.jar extract
FROM eclipse-temurin:17
ARG HTTP_PROXY
ARG HTTPS_PROXY
RUN apt-get update && apt-get install -y ca-certificates && rm -rf /var/lib/apt/lists/*
RUN mkdir /workspace
WORKDIR /workspace
COPY --from=builder dependencies/ ./
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
FROM eclipse-temurin:17
ARG HTTP_PROXY
ARG HTTPS_PROXY
RUN apt-get update && apt-get install -y ca-certificates && rm -rf /var/lib/apt/lists/*
USER nobody
WORKDIR /application
ARG JAR_FILE=target/*-exec.jar
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
FROM eclipse-temurin:17
ARG HTTP_PROXY
ARG HTTPS_PROXY
RUN apt-get update && apt-get install -y ca-certificates && rm -rf /var/lib/apt/lists/*
USER nobody
WORKDIR /application
ARG JAR_FILE=target/*-exec.jar
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
FROM eclipse-temurin:17
ARG HTTP_PROXY
ARG HTTPS_PROXY
RUN apt-get update && apt-get install -y ca-certificates && rm -rf /var/lib/apt/lists/*
USER nobody
WORKDIR /application
ARG JAR_FILE=target/*-exec.jar
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ RUN java -Djarmode=layertools -jar ${FINAL_NAME}.jar extract
FROM eclipse-temurin:17
ARG HTTP_PROXY
ARG HTTPS_PROXY
RUN apt-get update && apt-get install -y ca-certificates && rm -rf /var/lib/apt/lists/*
RUN mkdir /workspace
WORKDIR /workspace
COPY --from=builder dependencies/ ./
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ RUN java -Djarmode=layertools -jar ${FINAL_NAME}.jar extract
FROM eclipse-temurin:17
ARG HTTP_PROXY
ARG HTTPS_PROXY
RUN apt-get update && apt-get install -y ca-certificates && rm -rf /var/lib/apt/lists/*
RUN mkdir /workspace
WORKDIR /workspace
COPY --from=builder dependencies/ ./
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ RUN java -Djarmode=layertools -jar ${FINAL_NAME}.jar extract
FROM eclipse-temurin:17
ARG HTTP_PROXY
ARG HTTPS_PROXY
RUN apt-get update && apt-get install -y ca-certificates && rm -rf /var/lib/apt/lists/*
RUN mkdir /workspace
WORKDIR /workspace
COPY --from=builder dependencies/ ./
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ RUN java -Djarmode=layertools -jar ${FINAL_NAME}.jar extract
FROM eclipse-temurin:17
ARG HTTP_PROXY
ARG HTTPS_PROXY
RUN apt-get update && apt-get install -y ca-certificates && rm -rf /var/lib/apt/lists/*
RUN mkdir /workspace
WORKDIR /workspace
COPY --from=builder dependencies/ ./
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
FROM eclipse-temurin:17
ARG HTTP_PROXY
ARG HTTPS_PROXY
RUN apt-get update && apt-get install -y ca-certificates && rm -rf /var/lib/apt/lists/*
USER nobody
WORKDIR /application
ARG JAR_FILE=target/*-exec.jar
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Stage 1: Download the AAS4J dependency
FROM --platform=$BUILDPLATFORM maven:3.9-eclipse-temurin-17 AS maven-downloader
ARG HTTP_PROXY
ARG HTTPS_PROXY
ARG AAS4J_VERSION=1.0.4
WORKDIR /download
RUN mvn -B org.apache.maven.plugins:maven-dependency-plugin:3.6.0:get \
Expand All @@ -20,6 +22,9 @@ WORKDIR /application
RUN mkdir -p /application/classes /application/libs && \
chmod -R a+rwx /application

ARG HTTP_PROXY
ARG HTTPS_PROXY
RUN apt-get update && apt-get install -y ca-certificates && rm -rf /var/lib/apt/lists/*
USER nobody

COPY target/*-exec.jar basyxExecutable.jar
Expand Down