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

Side by Side Diff: blimp/tools/Dockerfile.base

Issue 2043403004: Create a Dockerfile.base and ensure it is included in build tarballs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Pull in new apt-get and move testing Dockerfile as suggested. 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
OLDNEW
1 # Blimp base Dockerfile. Should be used by all Dockerfiles used by Blimp to
2 # ensure test and release binaries all run under the same system environment.
1 FROM ubuntu:trusty 3 FROM ubuntu:trusty
2 4
3 # Run the command below to update the lib list. 5 # Run the command below to update the lib list.
4 # ldd ./blimp_engine_app | grep usr/lib | awk '{print $3}' | xargs -n1 \ 6 # ldd ./blimp_engine_app | grep usr/lib | awk '{print $3}' | xargs -n1 \
5 # dpkg-query -S | awk -F: '{print $1}' | sort | uniq 7 # dpkg-query -S | awk -F: '{print $1}' | sort | uniq
6 RUN apt-get update && \ 8 RUN apt-get update && \
7 apt-get install -yq libdrm2 libfontconfig1 libfreetype6 libgraphite2-3 \ 9 apt-get install -yq libdrm2 libfontconfig1 libfreetype6 libgraphite2-3 \
8 libharfbuzz0b libnspr4 libnss3 libstdc++6 10 libharfbuzz0b libnspr4 libnss3 libstdc++6
9 11
10 # stunnel4 is needed for incoming TLS connections. 12 # stunnel4 is needed for incoming TLS connections.
11 # wget is needed for crash reporting. 13 # wget is needed for crash reporting.
12 RUN apt-get update && apt-get install -yq stunnel4 wget 14 RUN apt-get update && apt-get install -yq stunnel4 wget
13 15
14 # gdb and strace are not strictly required, but having them around makes 16 # gdb and strace are not strictly required, but having them around makes
15 # debugging easier. 17 # debugging easier.
16 RUN apt-get update && apt-get install -yq gdb strace 18 RUN apt-get update && apt-get install -yq gdb strace
17
Sriram 2016/06/16 18:04:08 Do we need a todo in blimp/engine/Dockerfile to us
Jess 2016/06/16 18:18:11 I didn't worry about it given the tracking bug htt
18 RUN mkdir /engine
19
20 RUN useradd -ms /bin/bash blimp_user
21
22 # The glob below expands to all files, but does not add directories
23 # recursively.
24 ADD * /engine/
25 ADD gen/third_party/blimp_fonts /engine/fonts
26 RUN mv /engine/chrome_sandbox /engine/chrome-sandbox
27 RUN chown -R blimp_user /engine
28
29 USER blimp_user
30 WORKDIR "/engine"
31
32 ENTRYPOINT ["/engine/start_engine.sh"]
OLDNEW
« blimp/engine/testing/Dockerfile ('K') | « blimp/engine/testing/Dockerfile ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698