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

Side by Side Diff: blimp/engine/Dockerfile

Issue 2054953002: Include gdb and strace in Blimp Engine container image (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 | no next file » | 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 # stunnel4 is needed for incoming TLS connections.
11 # wget is needed for crash reporting.
10 RUN apt-get update && apt-get install -yq stunnel4 wget 12 RUN apt-get update && apt-get install -yq stunnel4 wget
11 13
14 # gdb and strace are not strictly required, but having them around makes
15 # debugging easier.
16 RUN apt-get update && apt-get install -yq gdb strace
Kevin M 2016/06/09 21:10:14 Why are we updating so many times? One update at t
maniscalco 2016/06/09 23:16:54 Since the impact occurs when someone manually invo
Kevin M 2016/06/09 23:25:11 I'm not sure if having these lines be independent
17
12 RUN mkdir /engine 18 RUN mkdir /engine
13 19
14 RUN useradd -ms /bin/bash blimp_user 20 RUN useradd -ms /bin/bash blimp_user
15 21
16 # The glob below expands to all files, but does not add directories 22 # The glob below expands to all files, but does not add directories
17 # recursively. 23 # recursively.
18 ADD * /engine/ 24 ADD * /engine/
19 ADD gen/third_party/blimp_fonts /engine/fonts 25 ADD gen/third_party/blimp_fonts /engine/fonts
20 RUN mv /engine/chrome_sandbox /engine/chrome-sandbox 26 RUN mv /engine/chrome_sandbox /engine/chrome-sandbox
21 RUN chown -R blimp_user /engine 27 RUN chown -R blimp_user /engine
22 28
23 USER blimp_user 29 USER blimp_user
24 WORKDIR "/engine" 30 WORKDIR "/engine"
25 31
26 ENTRYPOINT ["/engine/start_engine.sh"] 32 ENTRYPOINT ["/engine/start_engine.sh"]
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698