Commit 5974fdfa authored by root's avatar root
Browse files

Latest Dockerfile.

parent 1daf6d6b
Pipeline #171588 passed with stages
in 50 seconds
......@@ -2,9 +2,8 @@ FROM debian
ENV JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64
COPY . /app
WORKDIR /app
CMD apt-get install maven
RUN apt-get update && apt-get install -y openjdk-11-jre openjdk-11-jdk
CMD apt-get install pandoc
CMD apt-get install texlive-latex-extra
RUN apt-get update && apt-get install -y openjdk-11-jre openjdk-11-jdk \
&& apt-get install -y maven && apt-get install -y pandoc \
&& apt-get install -y texlive-latex-extra
CMD 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