Commit 754a6344 authored by Onadim, Izer's avatar Onadim, Izer
Browse files

[ieo119] Try using jdk image instead of maven

parent a059d31f
Pipeline #173695 failed with stages
in 3 minutes
FROM maven:3.6.3-jdk-11
# FROM maven:3.6.3-jdk-11
FROM openjdk:11-jdk
COPY . /app
WORKDIR /app
RUN apt-get update && apt-get install -y openjdk-11-jre openjdk-11-jdk \
RUN apt-get update \
#&& apt-get install -y openjdk-11-jre openjdk-11-jdk \
&& apt-get install -y pandoc \
&& apt-get install -y texlive-latex-extra
#RUN mvn compile
#ENV JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64
RUN mvn package
CMD sh target/bin/simplewebapp
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment