This steps uses the Bluemix Registry hence the extra prefix of registry.ng.bluemix.net. For Docker Hub, just use your username as the prefix.
- Build the image using the Dockerfile in
details
folder.
$ docker build -t registry.ng.bluemix.net/<your-namespace>/details-v1 .
- Push the image.
$ docker build -t registry.ng.bluemix.net/<your-namespace>/details-v1
- Build the image using the Dockerfile in
ratings
folder.
$ docker build -t registry.ng.bluemix.net/<your-namespace>/ratings-v1
- Push the image.
$ docker build -t registry.ng.bluemix.net/<your-namespace>/ratings-v1
There are 3 versions of the reviews service so you will build three Docker images.
- Build the images using the Dockerfile in
reviews
folder. Follow the build arguments.
$ gradle build
$ cd reviews-wlpcfg
$ docker build -t registry.ng.bluemix.net/<your-namespace>/reviews-v1 --build-arg service_version=v1 .
$ docker build -t registry.ng.bluemix.net/<your-namespace>/reviews-v2 --build-arg service_version=v2 --build-arg enable_ratings=true .
$ docker build -t registry.ng.bluemix.net/<your-namespace>/reviews-v3 --build-arg service_version=v3 --build-arg enable_ratings=true --build-arg star_color=red .
- Push the images.
$ docker build -t registry.ng.bluemix.net/<your-namespace>/reviews-v1
$ docker build -t registry.ng.bluemix.net/<your-namespace>/reviews-v2
$ docker build -t registry.ng.bluemix.net/<your-namespace>/reviews-v3
- Build the images using the Dockerfile in
mysql_data
folder.
$ docker build -t registry.ng.bluemix.net/<your-namespace>/mysql-bookinfo .
- Push the image.
$ docker push registry.ng.bluemix.net/<your-namespace>/mysql-bookinfo