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

Side by Side Diff: blimp/docs/container.md

Issue 1937423002: Refactor generate engine manifest to accept blacklist as an argument. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 unified diff | Download patch
« no previous file with comments | « no previous file | blimp/engine/engine-manifest.txt » ('j') | blimp/engine/engine-manifest.txt » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Running the engine in a Docker container 1 # Running the engine in a Docker container
2 2
3 For local development and testing, you can run the engine in a Docker 3 For local development and testing, you can run the engine in a Docker
4 container. 4 container.
5 5
6 The steps are: 6 The steps are:
7 7
8 1. Bundle the engine and its dependencies. 8 1. Bundle the engine and its dependencies.
9 9
10 1. Build a Docker image. 10 1. Build a Docker image.
(...skipping 27 matching lines...) Expand all
38 ### Update Engine Dependencies 38 ### Update Engine Dependencies
39 39
40 `blimp/engine/engine-manifest.txt` is a list of the engine's runtime 40 `blimp/engine/engine-manifest.txt` is a list of the engine's runtime
41 dependencies. From time to time, this list may need to be updated. Use 41 dependencies. From time to time, this list may need to be updated. Use
42 `blimp/tools/generate-engine-manifest.py` to (re)generate the manifest: 42 `blimp/tools/generate-engine-manifest.py` to (re)generate the manifest:
43 43
44 ```bash 44 ```bash
45 ./blimp/tools/generate-engine-manifest.py \ 45 ./blimp/tools/generate-engine-manifest.py \
46 --build-dir out-linux/Debug \ 46 --build-dir out-linux/Debug \
47 --target //blimp/engine \ 47 --target //blimp/engine \
48 --output blimp/engine/engine-manifest.txt 48 --output blimp/engine/engine-manifest.txt \
49 --blacklist blimp/tools/manifest-blacklist.txt
49 ``` 50 ```
50 51
51 Be sure to review the generated manifest and remove any false runtime 52 Be sure to review the generated manifest and remove any false runtime
52 dependencies. 53 dependencies.
53 54
54 ## Build Docker Image 55 ## Build Docker Image
55 56
56 Using the tarfile you can create a Docker image: 57 Using the tarfile you can create a Docker image:
57 58
58 ```bash 59 ```bash
(...skipping 29 matching lines...) Expand all
88 ```bash 89 ```bash
89 docker run -v $CONFIG_DIR:/engine/data -p 443:25466 blimp_engine 90 docker run -v $CONFIG_DIR:/engine/data -p 443:25466 blimp_engine
90 ``` 91 ```
91 You can also pass additional flags: 92 You can also pass additional flags:
92 93
93 ```bash 94 ```bash
94 docker run ... blimp_engine --with-my-flags 95 docker run ... blimp_engine --with-my-flags
95 ``` 96 ```
96 See the [blimp engine `Dockerfile`](../engine/Dockerfile) to find out what flags 97 See the [blimp engine `Dockerfile`](../engine/Dockerfile) to find out what flags
97 are passed by default. 98 are passed by default.
OLDNEW
« no previous file with comments | « no previous file | blimp/engine/engine-manifest.txt » ('j') | blimp/engine/engine-manifest.txt » ('J')

Powered by Google App Engine
This is Rietveld 408576698