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

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

Issue 2106843003: Blimp engine Dockerfile now depends on Dockerfile.base. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update documentation on docker build for engine to include building the base. Created 4 years, 5 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/Dockerfile » ('j') | no next file with comments »
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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 ``` 51 ```
52 52
53 You can compare the output at `out-linux/Debug/engine-manifest.txt` with the 53 You can compare the output at `out-linux/Debug/engine-manifest.txt` with the
54 generated target `out-linux/Debug/gen/engine-manifest.txt`. 54 generated target `out-linux/Debug/gen/engine-manifest.txt`.
55 55
56 ## Build Docker Image 56 ## Build Docker Image
57 57
58 Using the tarfile you can create a Docker image: 58 Using the tarfile you can create a Docker image:
59 59
60 ```bash 60 ```bash
61 docker build -f Dockerfile.base -t base - < ./out-linux/Debug/blimp_engine_bundl e.tar.gz
61 docker build -t blimp_engine - < ./out-linux/Debug/blimp_engine_bundle.tar.gz 62 docker build -t blimp_engine - < ./out-linux/Debug/blimp_engine_bundle.tar.gz
62 ``` 63 ```
63 64
64 ## Running the Engine in a Docker Container 65 ## Running the Engine in a Docker Container
65 66
66 After building the Docker image you can launch the engine inside the Docker 67 After building the Docker image you can launch the engine inside the Docker
67 container. 68 container.
68 69
69 ### Setting up an Environment 70 ### Setting up an Environment
70 71
(...skipping 19 matching lines...) Expand all
90 ```bash 91 ```bash
91 docker run -v $CONFIG_DIR:/engine/data -p 443:25466 blimp_engine 92 docker run -v $CONFIG_DIR:/engine/data -p 443:25466 blimp_engine
92 ``` 93 ```
93 You can also pass additional flags: 94 You can also pass additional flags:
94 95
95 ```bash 96 ```bash
96 docker run ... blimp_engine --with-my-flags 97 docker run ... blimp_engine --with-my-flags
97 ``` 98 ```
98 See the [blimp engine `Dockerfile`](../engine/Dockerfile) to find out what flags 99 See the [blimp engine `Dockerfile`](../engine/Dockerfile) to find out what flags
99 are passed by default. 100 are passed by default.
OLDNEW
« no previous file with comments | « no previous file | blimp/engine/Dockerfile » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698