Skip to content
Snippets Groups Projects
Commit 0b90d1d0 authored by Florent Aide's avatar Florent Aide
Browse files

Initial working version

parents
No related branches found
No related tags found
No related merge requests found
FROM ubuntu:14.04
MAINTAINER florent.aide@gmail.com
RUN apt-get update && apt-get -y -q install libreoffice libreoffice-writer ure libreoffice-java-common libreoffice-core libreoffice-common openjdk-7-jre && apt-get -q -y remove libreoffice-gnome
EXPOSE 899
RUN adduser --home=/opt/libreoffice --disabled-password --gecos "" --shell=/bin/bash libreoffice
# replace default setup with a one disabling logos by default
ADD sofficerc /etc/libreoffice/sofficerc
ADD startoo.sh /opt/libreoffice/startoo.sh
VOLUME ["/tmp"]
RUN chmod +x /opt/libreoffice/startoo.sh
CMD ["/opt/libreoffice/startoo.sh"]
#!/bin/bash
docker build -t xcgd/libreoffice-server .
run.sh 0 → 100755
#!/bin/sh
docker run --name="oooserver" -t -i --rm xcgd/libreoffice-server
[Bootstrap]
HideEula=1
Logo=0
NativeProgress=false
ProgressBarColor=222,72,20
ProgressFrameColor=245,245,245
ProgressPosition=72,189
ProgressSize=409,8
ProgressTextBaseline=170
ProgressTextColor=255,255,255
#!/bin/bash
/usr/bin/libreoffice --nologo --norestore --invisible --headless --accept='socket,host=0,port=8997,tcpNoDelay=1;urp;'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment