-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Dockerfile
47 lines (29 loc) · 2.34 KB
/
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
41
42
43
44
45
46
FROM oldwebtoday/base-browser
WORKDIR /download
ARG FF_VERSION
USER root
RUN wget https://download-installer.cdn.mozilla.net/pub/firefox/releases/$FF_VERSION/linux-x86_64/en-US/firefox-$FF_VERSION.tar.bz2 && \
tar xvf firefox-$FF_VERSION.tar.bz2
RUN sudo mv ./firefox /opt/firefox
ADD flash.list /etc/apt/sources.list.d/flash.list
RUN apt-get -y update && \
apt-get install -qqy \
libgtk-3-0 libasound2 libdbus-glib-1-2 libnss3-tools \
adobe-flashplugin software-properties-common libavcodec-extra && \
rm -rf /var/lib/apt/lists/*
ADD java/oracle-java6-installer.deb /tmp/
ADD java/jdk-6u45-linux-x64.bin /var/cache/oracle-jdk6-installer/
ADD install.sh /download/
RUN /download/install.sh
USER browser
WORKDIR /home/browser
COPY ./ffprofile/. /home/browser/ffprofile/
COPY run.sh /app/run.sh
COPY proxy.js /home/browser/proxy.js
RUN sudo chmod a+x /app/run.sh
#RUN sudo ln -s /etc/fonts/conf.avail/10-autohint.conf /etc/fonts/conf.d/
CMD ["/app/run.sh"]
LABEL wr.name="Firefox" \
wr.os="linux" \
wr.about="https://en.wikipedia.org/wiki/Firefox" \
wr.icon="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAADeUlEQVR4AU1TU2DEaBicP8m6tm3zbNu2ns62bdu27att2263q2yTTbL5rtvjw3yambdvQG+dDPlCsNeuu4w/9skuLrB/PrIWd1eD/fTra5y3XV/juO2WetcpLw/I0QHura5ZVvP81XxgDmCn/P7hLdwOOaWHXPHlzGPHfbzuPOmLDbrou1X9ou/X9LO+XKYLPp/bfL1z4/5vRbIFtD19d+14WKBsDNdV9hv33P+eyEdO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