diff --git a/guestbook/MAINTENANCE.md b/guestbook/MAINTENANCE.md new file mode 100644 index 000000000..1de9ecd59 --- /dev/null +++ b/guestbook/MAINTENANCE.md @@ -0,0 +1,23 @@ +## Building the Docker images + +```console +$ docker build -t gcr.io/google-samples/gb-frontend:v5 php-redis + +$ docker build -t gcr.io/google-samples/gb-redisslave:v2 redis-slave +``` + +Building Multi-architecture docker images + +```console +$ make -C php-redis + +$ make -C redis-slave +``` + +Push: + +```console +$ make -C php-redis all-push + +$ make -C redis-slave all-push +``` diff --git a/guestbook/README.md b/guestbook/README.md index ca0e265fd..707771270 100644 --- a/guestbook/README.md +++ b/guestbook/README.md @@ -40,30 +40,6 @@ Download the following configuration files: {% capture lessoncontent %} -## Building the Docker images - -```console -$ docker build -t gcr.io/google-samples/gb-frontend:v5 php-redis - -$ docker build -t gcr.io/google-samples/gb-redisslave:v2 redis-slave -``` - -Building Multi-architecture docker images - -```console -$ make -C php-redis - -$ make -C redis-slave -``` - -Push: - -```console -$ make -C php-redis all-push - -$ make -C redis-slave all-push -``` - ## Start up the Redis Master The guestbook application uses Redis to store its data. It writes its data to a Redis master instance and reads data from multiple Redis slave instances.