https://github.com/dice-group/gerbil
Tip revision: cdc861a1897f8d395e03db73a8ced43b7a5e58fa authored by Michael Röder on 01 August 2023, 16:44:04 UTC
Updated the desciption in the pom file.
Updated the desciption in the pom file.
Tip revision: cdc861a
Dockerfile
#############################
# BUILD THE WAR FILE
#############################
FROM maven:3.6.0-jdk-8 AS build
COPY src /tmp/src/
COPY repository /tmp/repository/
COPY pom.xml /tmp/
# overwrite gerbil-data path:
COPY docker-config/* /tmp/src/main/properties/
WORKDIR /tmp/
RUN mvn package -U -DskipTests
#############################
# BUILD THE DOCKER CONTAINER
#############################
FROM tomcat:7-jre8-alpine
RUN touch 20190115.txt
COPY --from=build /tmp/target/gerbil-*.war $CATALINA_HOME/webapps/$gerbil.war