OLD | NEW |
1 FROM base:latest | 1 FROM base:latest |
2 | 2 |
3 RUN mkdir /engine | 3 RUN mkdir /engine |
4 | 4 |
5 RUN useradd -ms /bin/bash blimp_user | 5 RUN useradd -ms /bin/bash blimp_user |
6 | 6 |
7 # The glob below expands to all files, but does not add directories | 7 # The glob below expands to all files in the working directory and the |
8 # recursively. | 8 # contents of any subdirectory there. |
9 ADD * /engine/ | 9 ADD * /engine/ |
10 ADD gen/third_party/blimp_fonts /engine/fonts | 10 ADD gen/third_party/blimp_fonts /engine/fonts |
11 RUN mv /engine/chrome_sandbox /engine/chrome-sandbox | 11 RUN mv /engine/chrome_sandbox /engine/chrome-sandbox |
12 RUN chown -R blimp_user /engine | 12 RUN chown -R blimp_user /engine |
13 | 13 |
14 USER blimp_user | 14 USER blimp_user |
15 WORKDIR "/engine" | 15 WORKDIR "/engine" |
16 | 16 |
17 ENTRYPOINT ["/engine/start_engine.sh"] | 17 ENTRYPOINT ["/engine/start_engine.sh"] |
OLD | NEW |