Containerized Spring Music App with Distroless Java 11
1.1K
Containerized Spring Music Application
This is a Spring Music Application containerized with Distroless Java Runtime.
$ docker build -t shinyay/spring-app .
$ docker run --rm -d -p 8080:8080 --name spring-app shinyay/spring-app

$ gcloud source repos create spring-app-repo
$ gcloud source repos list
REPO_NAME PROJECT_ID URL
spring-app-repo shinyay-build-999999-000000 https://source.developers.google.com/p/shinyay-build-999999-000000/r/spring-app-repo
$ git remote add google ssh://<USER_ID>@source.developers.google.com:2022/p/shinyay-works-999999-000000/r/spring-app-repo
$ gcloud beta builds triggers create cloud-source-repositories \
--repo=spring-app-repo \
--branch-pattern=".*" \
--build-config=cloudbuild.yaml
$ gcloud beta builds triggers list
Edit some source code and commit & push.
$ gcloud beta builds triggers run <TRIGGER_NAME> --branch master
Released under the MIT license
Content type
Image
Digest
Size
120 MB
Last updated
about 6 years ago
docker pull shinyay/spring-music-container