Skip to content

Commit

Permalink
Update for 4.11.4 (OpenJDK 16)
Browse files Browse the repository at this point in the history
  • Loading branch information
dfuchss committed Apr 14, 2021
1 parent 8a55b61 commit 541bc1c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARTEMIS_VERSION=feature/saml
ARTEMIS_VERSION=develop
ARTEMIS_GIT_REPOSITORY=https://github.com/kit-sdq/Artemis
PROFILES=prod,jenkins,gitlab,artemis,scheduling,saml2

Expand Down
2 changes: 1 addition & 1 deletion docker/artemis-client/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ARG ARTEMIS_VERSION=main
####################
# Build stage #
####################
FROM openjdk:15-jdk-buster AS build
FROM openjdk:16-jdk-buster AS build

ENV LC_ALL C

Expand Down
8 changes: 4 additions & 4 deletions docker/artemis-server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ARG ARTEMIS_VERSION=main
####################
# Build stage #
####################
FROM openjdk:15-jdk-buster AS build
FROM openjdk:16-jdk-buster AS build

ENV LC_ALL C

Expand All @@ -19,16 +19,16 @@ RUN echo "Building from $ARTEMIS_GIT_REPOSITORY" \
&& mkdir /build && cd /build \
&& git clone --depth 1 --branch $ARTEMIS_VERSION $ARTEMIS_GIT_REPOSITORY \
&& cd Artemis \
&& ./gradlew build -x webpack -x test -x jacocoTestCoverageVerification
&& ./gradlew clean bootWar -Pprod -Pwar -x webpack -x test -x jacocoTestCoverageVerification

RUN cd /build/Artemis \
&& mv /build/Artemis/build/libs/Artemis-$(./gradlew properties -q | grep "^version:" | awk '{print $2}').jar \
&& mv /build/Artemis/build/libs/Artemis-$(./gradlew properties -q | grep "^version:" | awk '{print $2}').war \
/build/Artemis/build/libs/Artemis.jar

####################
# Execution stage #
####################
FROM openjdk:15-jdk-buster
FROM openjdk:16-jdk-buster

ARG ARTEMIS_VERSION
ARG GOSU_VERSION=1.12
Expand Down
1 change: 1 addition & 0 deletions docker/artemis-server/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ exec gosu artemis java \
-Xmx2048m \
--add-modules java.se \
--add-exports java.base/jdk.internal.ref=ALL-UNNAMED \
--add-exports java.naming/com.sun.jndi.ldap=ALL-UNNAMED \
--add-opens java.base/java.lang=ALL-UNNAMED \
--add-opens java.base/java.nio=ALL-UNNAMED \
--add-opens java.base/sun.nio.ch=ALL-UNNAMED \
Expand Down

0 comments on commit 541bc1c

Please sign in to comment.