Skip to content
This repository was archived by the owner on Aug 13, 2024. It is now read-only.

[FIX] Updating aeroo service into different services #5

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions aeroodocs-service/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
FROM ubuntu:14.04

ENV REFRESHED_AT 2015-05-02

RUN DEBIAN_FRONTEND=noninteractive && \
apt-get update && \
apt-get install -y git python3-uno python3-pip xvfb

# 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

CMD python3 /opt/aeroo_docs/aeroo-docs start -w adhoc-aeroo-docs-libreoffice -s 8100 -n -p 8989 -i 0.0.0.0
18 changes: 4 additions & 14 deletions Dockerfile → openoffice-service/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,33 +1,23 @@
FROM ubuntu:14.04
MAINTAINER Juan Jose Scarafia <[email protected]>

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
apt-get install -y git libreoffice-writer libreoffice-calc xvfb 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
EXPOSE 8100

ADD supervisord.conf /etc/supervisor/conf.d/supervisord.conf
CMD supervisord -c /etc/supervisor/conf.d/supervisord.conf
CMD /usr/bin/soffice --norestore --nologo --norestore --nofirststartwizard --accept="socket,host=0,port=8100;urp;"
Binary file added report.odt
Binary file not shown.
8 changes: 0 additions & 8 deletions supervisord.conf

This file was deleted.