Skip to content

Commit

Permalink
Docker file and Jenkins file modifications
Browse files Browse the repository at this point in the history
Signed-off-by: Maxim Nesen <maxim.nesen@oracle.com>
  • Loading branch information
senivam authored and lukasj committed Feb 11, 2021
1 parent c81f6fa commit 58daa7e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Jenkinsfile
Expand Up @@ -64,7 +64,7 @@ spec:
steps {
container('mail-ci') {
sh """
wget 'https://download.java.net/openjdk/jdk11/ri/openjdk-11+28_linux-x64_bin.tar.gz' -O openjdk-11.tar.gz
wget 'https://download.java.net/openjdk/jdk11/ri/openjdk-11+28_linux-x64_bin.tar.gz' -O openjdk-11.tar.gz -q
tar -xzf openjdk-11.tar.gz
cd jdk-11
export JAVA_HOME=`pwd`
Expand Down
9 changes: 9 additions & 0 deletions docker/Dockerfile
@@ -0,0 +1,9 @@
FROM jakartaee/cts-javamail-base:0.1

WORKDIR /root
RUN wget 'https://download.java.net/openjdk/jdk11/ri/openjdk-11+28_linux-x64_bin.tar.gz' -O openjdk-11.tar.gz -q
RUN tar -xzf openjdk-11.tar.gz

ENV JAVA_HOME '/root/jdk-11'

ENTRYPOINT cat

0 comments on commit 58daa7e

Please sign in to comment.