Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove secrets passing to establish baseline for chapter 6 on app con…
…fig.
- Loading branch information
Showing
19 changed files
with
118 additions
and
268 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 |
---|---|---|
@@ -1,7 +1,6 @@ | ||
FROM openjdk:8-jdk-alpine | ||
ARG jar_file | ||
VOLUME /tmp | ||
ADD VERSION . | ||
ADD $jar_file app.jar | ||
ENV JAVA_OPTS="" | ||
ENTRYPOINT exec java -jar /app.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 |
---|---|---|
@@ -1,19 +1,15 @@ | ||
docker build --build-arg \ | ||
jar_file=cloudnative-connectionposts/target/cloudnative-connectionposts-0.0.2-SNAPSHOT.jar \ | ||
-t cdavisafc/cloudnative-appconfig-connectionposts . | ||
jar_file=cloudnative-connectionposts/target/cloudnative-connectionposts-0.0.1-SNAPSHOT.jar \ | ||
-t cdavisafc/cloudnative-appconfig-connectionposts:0.0.1 . | ||
# | ||
docker build --build-arg \ | ||
jar_file=cloudnative-connections/target/cloudnative-connections-0.0.2-SNAPSHOT.jar \ | ||
-t cdavisafc/cloudnative-appconfig-connections . | ||
jar_file=cloudnative-connections/target/cloudnative-connections-0.0.1-SNAPSHOT.jar \ | ||
-t cdavisafc/cloudnative-appconfig-connections:0.0.1 . | ||
# | ||
docker build --build-arg \ | ||
jar_file=cloudnative-posts/target/cloudnative-posts-0.0.2-SNAPSHOT.jar \ | ||
-t cdavisafc/cloudnative-appconfig-posts . | ||
jar_file=cloudnative-posts/target/cloudnative-posts-0.0.1-SNAPSHOT.jar \ | ||
-t cdavisafc/cloudnative-appconfig-posts:0.0.1 . | ||
# | ||
docker tag cdavisafc/cloudnative-appconfig-connectionposts cdavisafc/cloudnative-appconfig-connectionposts:0.0.2 | ||
docker tag cdavisafc/cloudnative-appconfig-connections cdavisafc/cloudnative-appconfig-connections:0.0.2 | ||
docker tag cdavisafc/cloudnative-appconfig-posts cdavisafc/cloudnative-appconfig-posts:0.0.2 | ||
# | ||
docker push cdavisafc/cloudnative-appconfig-connectionposts:0.0.2 | ||
docker push cdavisafc/cloudnative-appconfig-connections:0.0.2 | ||
docker push cdavisafc/cloudnative-appconfig-posts:0.0.2 | ||
docker push cdavisafc/cloudnative-appconfig-connectionposts:0.0.1 | ||
docker push cdavisafc/cloudnative-appconfig-connections:0.0.1 | ||
docker push cdavisafc/cloudnative-appconfig-posts:0.0.1 |
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
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
Oops, something went wrong.