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

Side by Side Diff: blimp/engine/Dockerfile

Issue 1776133002: Add Android fonts to blimp engine (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed references to chromeos Created 4 years, 9 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/DEPS ('k') | blimp/engine/engine-manifest.txt » ('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 install -yq stunnel4 10 RUN apt-get install -yq stunnel4
11 11
12 RUN mkdir /engine 12 RUN mkdir /engine
13 13
14 RUN useradd -ms /bin/bash blimp_user 14 RUN useradd -ms /bin/bash blimp_user
15 15
16 # The glob below expands to all files, but does not add directories
17 # recursively.
16 ADD * /engine/ 18 ADD * /engine/
19 ADD gen/third_party/blimp_fonts /engine/fonts
17 RUN mv /engine/chrome_sandbox /engine/chrome-sandbox 20 RUN mv /engine/chrome_sandbox /engine/chrome-sandbox
18 RUN chown -R blimp_user /engine 21 RUN chown -R blimp_user /engine
19 22
20 USER blimp_user 23 USER blimp_user
21 WORKDIR "/engine" 24 WORKDIR "/engine"
22 25
23 ENTRYPOINT ["/engine/start_engine.sh"] 26 ENTRYPOINT ["/engine/start_engine.sh"]
24
OLDNEW
« no previous file with comments | « blimp/engine/DEPS ('k') | blimp/engine/engine-manifest.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698