|
@@ -1,25 +1,18 @@
|
|
|
FROM golang
|
|
|
|
|
|
RUN apt-get update -qq && apt-get install -y netcat
|
|
|
-
|
|
|
-# RUN apt-get install -y -q pandoc
|
|
|
+RUN apt-get install -y -q libsm6 libcups2 libcairo2 libdbus-1-3 libxinerama1
|
|
|
|
|
|
WORKDIR /tmp
|
|
|
RUN wget https://github.com/jgm/pandoc/releases/download/2.7.3/pandoc-2.7.3-1-amd64.deb
|
|
|
-
|
|
|
RUN wget https://download.documentfoundation.org/libreoffice/stable/6.2.7/deb/x86_64/LibreOffice_6.2.7_Linux_x86-64_deb.tar.gz
|
|
|
-RUN cd LibreOffice_6.2.7_Linux_x86-64_deb
|
|
|
-RUN dpkg -i *.deb
|
|
|
-
|
|
|
-# RUN mkdir -p /pandoc
|
|
|
-# COPY pandoc/pandoc-2.7.3-1-amd64.deb /pandoc
|
|
|
-# RUN ls -l
|
|
|
|
|
|
+RUN tar xvzf LibreOffice_6.2.7_Linux_x86-64_deb.tar.gz
|
|
|
+WORKDIR LibreOffice_6.2.7.1_Linux_x86-64_deb/DEBS
|
|
|
+RUN dpkg -i *.deb
|
|
|
+RUN ln -s /usr/local/bin/libreoffice6.2 /usr/local/bin/libreoffice
|
|
|
+WORKDIR /tmp
|
|
|
RUN dpkg -i ./pandoc-2.7.3-1-amd64.deb
|
|
|
-
|
|
|
-# Install latest stable LibreOffice
|
|
|
-RUN apt-get install -y -q libreoffice \
|
|
|
- && apt-get remove -q -y libreoffice-gnome
|
|
|
|
|
|
ENV PATH=$GOPATH/bin:$PATH
|
|
|
RUN mkdir -p $GOPATH/src/gogs.carducci-dante.gov.it/karmen
|