-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dependabot alert, add dev Dockerfile, build.sh
- Loading branch information
1 parent
a5448ae
commit 9cfab66
Showing
3 changed files
with
16 additions
and
2 deletions.
There are no files selected for viewing
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 jac18281828/javadev:latest | ||
|
||
WORKDIR /build | ||
|
||
ENV JAVA_HOME=/usr/lib/jvm/default-java | ||
|
||
CMD mvn -U clean source:jar compile test verify package javadoc:jar |
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 @@ | ||
#!/usr/bin/env bash | ||
|
||
VERSION=$(date +%s) | ||
PROJECT=jac18281828/$(basename ${PWD}) | ||
|
||
docker build . -t ${PROJECT}:${VERSION} && \ | ||
docker run -v ${PWD}:/build --rm -i -t ${PROJECT}:${VERSION} |
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