forked from IQSS/dataverse
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial building of containers from Maven, see IQSS#5292
This commit adds initial support for building an "application only" container. That is achived by adding the fabric8io/docker-maven-plugin to a new Maven profile called "container". Build via `mvn docker:build`. The build is based on the upstream Payara 5 image right now. This is a TODO, as the upstream container project is not very responsive and there is no proper signal handling in place.
- Loading branch information
1 parent
fe66dca
commit 00b78af
Showing
3 changed files
with
96 additions
and
1 deletion.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
FROM payara/server-full:latest | ||
|
||
ARG LIB_PATH="${PAYARA_DIR}/glassfish/domains/${DOMAIN_NAME}/lib/" | ||
|
||
COPY --chown=payara maven/lib/* ${LIB_PATH} | ||
|
||
COPY maven/${project.build.finalName}.war ${DEPLOY_DIR} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters