forked from ingadhoc/docker-aeroo-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
33 lines (22 loc) · 1.1 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
FROM ubuntu:14.04
MAINTAINER Juan Jose Scarafia <jjs@adhoc.com.ar>
ENV REFRESHED_AT 2015-05-02
RUN DEBIAN_FRONTEND=noninteractive && \
apt-get update && \
apt-get install -y git python3-uno libreoffice-writer libreoffice-calc python3-pip xvfb supervisor openjdk-7-jre
# Accept EULA for MS fonts
RUN echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | debconf-set-selections # Accept EULA for MS fonts
# agregamos fuentes solicitadas por ivan
RUN apt-get install -y msttcorefonts curl fonts-cantarell ttf-mscorefonts-installer
RUN curl -s https://raw.githubusercontent.com/hotice/webupd8/master/install-google-fonts | bash
# este por ahora no es necesario y ademas pesa muchísimo
#RUN apt-get install -y ubuntustudio-font-meta
COPY ./resources/segoeui/ /usr/share/fonts/truetype/segoeui/
# Limpieza
RUN apt-get clean
RUN pip3 install jsonrpc2
RUN pip3 install daemonize
RUN git clone https://github.com/aeroo/aeroo_docs.git /opt/aeroo_docs
EXPOSE 8989
ADD supervisord.conf /etc/supervisor/conf.d/supervisord.conf
CMD supervisord -c /etc/supervisor/conf.d/supervisord.conf