This is a testing repo for buildpack builder.
Use *.env
files in folder buildpack
to create three images:
- cnb-tomcat-example
- cnb-tomcat-api-example
- cnb-tomcat-ui-example
First, run docker run --rm -it -p 8080:8080 cnb-tomcat-example
Then, use browser to check following urls:
- http://localhost:8080/api
- http://localhost:8080/api/hello
- http://localhost:8080/api/healthcheck
- http://localhost:8080/ui/header
- http://localhost:8080/ui/info
- http://localhost:8080/ui/cookie
- http://localhost:8080/ui/params
First, run docker run --rm -it -p 8080:8080 cnb-tomcat-api-example
Then, use browser to check following urls:
First, run docker run --rm -it -p 8080:8080 cnb-tomcat-ui-example
Then, use browser to check following urls: