-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
50 lines (41 loc) · 1.03 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
47
48
49
50
FROM ubuntu:trusty
ARG DEBIAN_FRONTEND=noninteractive
# Install build dependencies
RUN apt-get update \
&& \
apt-get install -y -q \
software-properties-common \
python-software-properties \
build-essential
RUN apt-get update \
&& \
apt-get install -y -q --no-install-recommends \
apt-utils
# Add ppa for ffmpeg
RUN add-apt-repository ppa:mc3man/trusty-media -y
RUN apt-get upgrade -y -q
# Install unoconv dependencies
RUN apt-get update \
&& \
apt-get install -f -y -q \
python3-uno \
libreoffice-writer \
libreoffice-draw \
libreoffice-calc \
libreoffice-impress
# Install filepreview dependencies
RUN apt-get update \
&& \
apt-get install -y -f -q \
unoconv \
ffmpeg \
imagemagick \
curl
# Install Node
RUN curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
RUN apt-get install -y nodejs
# Cleanup
RUN apt-get remove -y build-essential && \
apt-get autoremove -y && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*