Skip to content
Permalink
Browse files

Warn the user that building the microservice image from OSX does not …

…work.

PiperOrigin-RevId: 264477847
Change-Id: Ia5bc7fb9a49de2933d2f0ea328c390a8241933eb
  • Loading branch information...
timford authored and andrewstewart committed Aug 20, 2019
1 parent 1343665 commit df2650ddf2ca0e8f16ca597e799c762453bc79bf
Showing with 10 additions and 0 deletions.
  1. +5 −0 docs/BUILDING.md
  2. +5 −0 docs/GUIDE.md
@@ -124,6 +124,11 @@ $ bazel run internal/quickstore_microservice:quickstore_microservice_mako

The Quickstore microservice can also be built into a Docker image:

> **WARNING**: Docker does not run natively in OSX, so building the image from
> OSX will require cross-compiling for Linux. We have not yet determined how to
> configure Bazel accordingly, so for now we recommend only building the
> microservice in Linux.
```bash
$ bazel build internal/quickstore_microservice:quickstore_microservice_mako_image.tar
```
@@ -277,6 +277,11 @@ Skip this step if you are happy with the microservice as a binary.
To build the microservice into a Docker image that can be loaded locally or
pushed to a repository:

> **WARNING**: Docker does not run natively in OSX, so building the image from
> OSX will require cross-compiling for Linux. We have not yet determined how to
> configure Bazel accordingly, so for now we recommend only building the
> microservice in Linux.
```bash
$ bazel build internal/quickstore_microservice:quickstore_microservice_mako_image.tar
```

0 comments on commit df2650d

Please sign in to comment.
You can’t perform that action at this time.