You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
MyClipboard/Dockerfile

11 lines
305 B
Docker

3 years ago
FROM maven:3.8.1-adoptopenjdk-11
MAINTAINER Goudham Suresh
CMD ["java", "-Djava.awt.headless=true", "-jar", "/var/lib/jenkins/workspace/app.jar"]
RUN apt-get update && apt-get install -y \
gpg \
xvfb
RUN export MAVEN_OPTS="-Djava.awt.headless=true"
RUN /usr/bin/Xvfb :99 &
RUN export DISPLAY=:99