Skip to content

Commit

Permalink
update hefquin-docker to build the uber war
Browse files Browse the repository at this point in the history
  • Loading branch information
keski committed Sep 24, 2024
1 parent 4f1ed4c commit 8576ab0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
5 changes: 4 additions & 1 deletion hefquin-docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@ RUN sh -c '\
else \
echo "No specific tag supplied, using the latest version"; \
fi'
RUN mvn clean package

# Build only the uber war
RUN mvn clean install
RUN mvn package -pl hefquin-service -P build-war

# # Use tomcat:latest for running
FROM tomcat:latest
Expand Down
15 changes: 7 additions & 8 deletions hefquin-docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,10 @@ services:
# TAG: docker-test
ports:
- "8080:8080"
volumes:
### If you want to use configuration files other than the default ones
### or a federation description other than the default one, uncomment
### the following three lines and change their respective first parts
### to refer to the files that you want to use.
#- ../hefquin-service/src/main/resources/config.properties:/usr/local/tomcat/webapps/ROOT/config.properties
#- ../hefquin-service/src/main/resources/DefaultEngineConf.ttl:/usr/local/tomcat/webapps/ROOT/ExampleEngineConf.ttl
#- ../hefquin-service/src/main/resources/DefaultFedConf.ttl:/usr/local/tomcat/webapps/ROOT/ExampleFedConf.ttl
### If you want to use configuration files other than the default ones
### or a federation description other than the default one, uncomment
### the following three lines and change their respective first parts
### to refer to the files that you want to use.
#volumes:
#- ../hefquin-service/src/main/resources/DefaultEngineConf.ttl:/usr/local/tomcat/webapps/ROOT/DefaultEngineConf.ttl
#- ../hefquin-service/src/main/resources/DefaultFedConf.ttl:/usr/local/tomcat/webapps/ROOT/DefaultFedConf.ttl

0 comments on commit 8576ab0

Please sign in to comment.