Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(589)

Unified Diff: blimp/docs/container.md

Issue 1735783002: Add Android fonts to blimp engine (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@khushal-fonts
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: blimp/docs/container.md
diff --git a/blimp/docs/container.md b/blimp/docs/container.md
index 31adc802ee2b6fc603aa6d3c1703468b7d67804d..1a773d2f97d562c92260553b361bf9fb29dd9a28 100644
--- a/blimp/docs/container.md
+++ b/blimp/docs/container.md
@@ -43,7 +43,7 @@ dependencies. From time to time, this list may need to be updated. Use
```bash
./blimp/tools/generate-engine-manifest.py \
- --build-dir out-linux/Debug \
+ --build-dir out-chromeos/Debug \
--target //blimp/engine:blimp_engine \
--output blimp/engine/engine-manifest.txt
```
@@ -56,7 +56,7 @@ dependencies.
Using the tarfile you can create a Docker image:
```bash
-docker build -t blimp_engine - < ./out-linux/Debug/blimp_engine_bundle.tar
+docker build -t blimp_engine - < ./out-chromeos/Debug/blimp_engine_bundle.tar.gz
```
## Running the Engine in a Docker Container
@@ -71,10 +71,16 @@ few files that are not provided by the container. You need:
* A directory (`$CONFIG_DIR`) with permissions of 0755 (ie. world accessable)
* `$CONFIG_DIR/stunnel.pem`: A PEM encoded file with a private key and a
- public certificate. Permissions should be set to 644.
+ public certificate. Permissions should be set to 644. To create this, you
+ can run the command:
+
+ ```bash
+ openssl req -x509 -newkey rsa:2048 -nodes -keyout stunnel.pem -out stunnel.pem ```
+
* `$CONFIG_DIR/client_token`: A file with a non-empty string used as the
client token (the shared secret between the client and the engine).
- Persmissions should also be set to 644.
+ Permissions should also be set to 644. See [running](running.md) for how
+ to get the default token from the source code.
This setup step is only required once and can be reused for all the rest of the
runs of the engine.
@@ -94,4 +100,3 @@ docker run ... blimp_engine --with-my-flags
```
See the [blimp engine `Dockerfile`](../engine/Dockerfile) to find out what flags
are passed by default.
-

Powered by Google App Engine
This is Rietveld 408576698