forked from Shokesu/splash
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
41 lines (32 loc) · 951 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
FROM ubuntu:16.04
ENV DEBIAN_FRONTEND noninteractive
# XXX: this needs to be updated if Qt is updated in provision.sh
ENV PATH="/opt/qt59/5.9.1/gcc_64/bin:${PATH}"
# Install, use dev tools, and then clean up in one RUN transaction
# to minimize image size.
ADD dockerfiles/splash/provision.sh /tmp/provision.sh
ADD dockerfiles/splash/qt-installer-noninteractive.qs /tmp/script.qs
RUN /tmp/provision.sh \
prepare_install \
install_deps \
install_qtwebkit_deps \
install_official_qt \
install_qtwebkit \
install_pyqt5 \
install_python_deps \
install_flash \
install_msfonts \
install_extra_fonts \
remove_builddeps \
remove_extra && \
rm /tmp/provision.sh
ADD . /app
RUN pip3 install /app
ENV PYTHONPATH $PYTHONPATH:/app
VOLUME [ \
"/etc/splash/proxy-profiles", \
"/etc/splash/js-profiles", \
"/etc/splash/filters", \
"/etc/splash/lua_modules" \
]
CMD [ "sh", "/app/run.sh" ]