-
Notifications
You must be signed in to change notification settings - Fork 13
/
Dockerfile
31 lines (25 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
FROM ubuntu:14.04.3
MAINTAINER Chris Daish <[email protected]>
ENV DEBIAN_FRONTEND noninteractive
ENV acroreadPackage AdbeRdr9.5.5-1_i386linux_enu.deb
ENV uid 1000
ENV gid 1000
RUN useradd -m acroread; \
dpkg --add-architecture i386; \
apt-get update; \
apt-get install -y wget \
cups-bsd \
libcups2 \
libgtk2.0-0:i386 \
libnss3-1d:i386 \
libnspr4-0d:i386 \
lib32nss-mdns \
libxml2:i386 \
libxslt1.1:i386 \
libstdc++6:i386; \
rm -rf /var/lib/apt/lists/*
RUN wget -q http://ardownload.adobe.com/pub/adobe/reader/unix/9.x/9.5.5/enu/$acroreadPackage -O /tmp/$acroreadPackage; \
dpkg -i /tmp/$acroreadPackage; \
rm /tmp/$acroreadPackage
COPY start-acroread.sh /tmp/
ENTRYPOINT ["/tmp/start-acroread.sh"]