-
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.
- Loading branch information
1 parent
383e29b
commit 9099b17
Showing
15 changed files
with
46 additions
and
300 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 |
---|---|---|
|
@@ -46,3 +46,7 @@ | |
path = mrt-integ-tests | ||
url = [email protected]:cdluc3/mrt-integ-tests.git | ||
branch = main | ||
[submodule "mrt-zk"] | ||
path = mrt-services/dep_zk/mrt-zk | ||
url = [email protected]:cdluc3/mrt-zk | ||
branch = main |
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
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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
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,3 @@ | ||
Dockerfile | ||
**/target | ||
README.md |
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,28 @@ | ||
#********************************************************************* | ||
# Copyright 2021 Regents of the University of California | ||
# All rights reserved | ||
#********************************************************************* | ||
|
||
# docker build --build-arg ECR_REGISTRY=${ECR_REGISTRY} -t ${ECR_REGISTRY}/mrt-zk:dev . | ||
# aws ecr create-repository --repository-name mrt-zk | ||
# docker push ${ECR_REGISTRY}/mrt-zk:dev | ||
|
||
ARG ECR_REGISTRY=ecr_registry_not_set | ||
|
||
FROM ${ECR_REGISTRY}/mrt-core2:dev | ||
|
||
WORKDIR /build/mrt-zk | ||
|
||
# Now add the java code | ||
ADD mrt-zk ./ | ||
|
||
# Build and clean in one step to keep the image size small | ||
RUN mkdir appdir && \ | ||
mvn -ntp install -DskipTests -Ddocker.skip && \ | ||
date -r target +'dep-cdlzk: %Y-%m-%d:%H:%M:%S' >> /build/static/build.content.txt && \ | ||
cp target/*.jar appdir && \ | ||
mvn clean && \ | ||
rm -rf /root/.m2/repository/org/codehaus && \ | ||
rm -rf /root/.m2/repository/org/apache/maven | ||
|
||
ENTRYPOINT [ "ls", "appdir" ] |
Oops, something went wrong.