Skip to content

Commit

Permalink
Add docker image building instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
mkumatag committed Aug 16, 2017
1 parent 5f48457 commit fed5386
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions guestbook/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,30 @@ 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.
Expand Down

0 comments on commit fed5386

Please sign in to comment.