forked from burrsutter/9stepsawesome
-
Notifications
You must be signed in to change notification settings - Fork 0
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
283e149
commit ea7bffa
Showing
8 changed files
with
18 additions
and
19 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,29 @@ | ||
Intial pom.xml created by start.spring.io | ||
Initial pom.xml created by start.spring.io | ||
|
||
mvn clean compile package | ||
|
||
java -jar target/boot-demo-0.0.1.jar | ||
java -jar target/boot-demo-1.0.0.jar | ||
or | ||
mvn spring-boot:run | ||
curl http://localhost:8080/ | ||
ctrl-c | ||
|
||
Manual Deployment | ||
|
||
docker build -f Dockerfile -t dev.local/burrsutter/boot-demo:0.0.1 . | ||
docker build -f Dockerfile -t dev.local/burrsutter/boot-demo:1.0.0 . | ||
or | ||
docker build -f Dockerfile.openshift -t dev.local/burrsutter/boot-demo:0.0.1 . | ||
docker build -f Dockerfile.openshift -t dev.local/burrsutter/boot-demo:1.0.0 . | ||
|
||
docker login docker.io | ||
docker images | grep boot-demo | ||
docker tag $1 docker.io/burrsutter/boot-demo:0.0.1 | ||
docker push docker.io/burrsutter/boot-demo:0.0.1 | ||
or | ||
docker login quay.io | ||
docker images | grep boot-demo | ||
docker tag $1 quay.io/burrsutter/boot-demo:0.0.1 | ||
docker push quay.io/burrsutter/boot-demo:0.0.1 | ||
|
||
docker tag $1 docker.io/burrsutter/boot-demo:1.0.0 | ||
docker push docker.io/burrsutter/boot-demo:1.0.0 | ||
|
||
or | ||
|
||
docker login quay.io | ||
docker images | grep boot-demo | ||
|
||
http://jshift.io/ | ||
docker tag $1 quay.io/burrsutter/boot-demo:1.0.0 | ||
docker push quay.io/burrsutter/boot-demo:1.0.0 |
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