-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathDockerfile
27 lines (20 loc) · 1.04 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
FROM ubuntu:14.04.3
MAINTAINER Chris Daish <[email protected]>
ENV DEBIAN_FRONTEND noninteractive
COPY AptSources /etc/apt/sources.list.d/
ENV FIREFOXVERSION 46.0+build5-0ubuntu0.14.04.2
RUN useradd -m firefox; \
echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true | debconf-set-selections; \
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EEA14886; \
apt-get update; \
apt-get install -y --no-install-recommends firefox=$FIREFOXVERSION \
dbus-x11 \
adobe-flashplugin \
libxext-dev \
libxrender-dev \
libxtst-dev \
oracle-java8-installer \
oracle-java8-set-default; \
rm -rf /var/lib/apt/lists/*
COPY start-firefox.sh /tmp/
ENTRYPOINT ["/tmp/start-firefox.sh"]