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

Side by Side Diff: blimp/engine/Dockerfile

Issue 1638153002: Set up an stunnel endpoint for the engine. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Documentation updates 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 unified diff | Download patch
« no previous file with comments | « blimp/engine/BUILD.gn ('k') | blimp/engine/start_engine.sh » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 FROM ubuntu:trusty 1 FROM ubuntu:trusty
2 2
3 # Run the command below to update the lib list. 3 # Run the command below to update the lib list.
4 # ldd ./blimp_engine_app | grep usr/lib | awk '{print $3}' | xargs -n1 \ 4 # ldd ./blimp_engine_app | grep usr/lib | awk '{print $3}' | xargs -n1 \
5 # dpkg-query -S | awk -F: '{print $1}' | sort | uniq 5 # dpkg-query -S | awk -F: '{print $1}' | sort | uniq
6 RUN apt-get update && \ 6 RUN apt-get update && \
7 apt-get install -yq libdrm2 libfontconfig1 libfreetype6 libgraphite2-3 \ 7 apt-get install -yq libdrm2 libfontconfig1 libfreetype6 libgraphite2-3 \
8 libharfbuzz0b libnspr4 libnss3 libstdc++6 8 libharfbuzz0b libnspr4 libnss3 libstdc++6
9 9
10 RUN apt-get update && apt-get install -yq stunnel4
Kevin M 2016/01/28 21:54:12 This "update" looks redundant? Also, can stunnel4
marcinjb 2016/01/28 22:15:38 I'd like to keep it separate as one apt-get is the
11
10 RUN mkdir /engine 12 RUN mkdir /engine
11 13
12 RUN useradd -ms /bin/bash blimp_user 14 RUN useradd -ms /bin/bash blimp_user
13 15
14 ADD * /engine/ 16 ADD * /engine/
15 RUN mv /engine/chrome_sandbox /engine/chrome-sandbox 17 RUN mv /engine/chrome_sandbox /engine/chrome-sandbox
16 RUN chown -R blimp_user /engine 18 RUN chown -R blimp_user /engine
17 19
18 USER blimp_user 20 USER blimp_user
19 WORKDIR "/engine" 21 WORKDIR "/engine"
20 22
21 ENTRYPOINT ["/engine/blimp_engine_app", \ 23 ENTRYPOINT ["/engine/start_engine.sh"]
22 "--disable-gpu", \ 24
23 "--use-remote-compositing", \
24 # Retains display items for serialization on the engine.
25 "--disable-cached-picture-raster", \
26 "--blimp-client-token-path=/engine/data/client_token"]
OLDNEW
« no previous file with comments | « blimp/engine/BUILD.gn ('k') | blimp/engine/start_engine.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698