diff --git a/Dockerfile b/Dockerfile index 578d469..05ed07f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,7 +15,7 @@ RUN apt-get update && apt-get install -y \ # downloading, extracting, installing and cleanup in one docker layer to minimize size RUN wget https://download.documentfoundation.org/libreoffice/stable/${LIBREOFFICE_VERSION}/deb/x86_64/LibreOffice_${LIBREOFFICE_VERSION}_Linux_x86-64_deb.tar.gz && \ mkdir LibreOffice && \ - tar xzf LibreOffice_${LIBREOFFICE_VERSION}_Linux_x86-64_deb.tar.gz -C LibreOffice --strip-components 1 && \ # specifying the destination dir name to avoid patch unexpected numbers included + tar xzf LibreOffice_${LIBREOFFICE_VERSION}_Linux_x86-64_deb.tar.gz -C LibreOffice --strip-components 1 && \ rm LibreOffice_${LIBREOFFICE_VERSION}_Linux_x86-64_deb.tar.gz && \ cd LibreOffice/DEBS && \ dpkg -i *.deb && \ @@ -23,4 +23,3 @@ RUN wget https://download.documentfoundation.org/libreoffice/stable/${LIBREOFFIC RUN ["/bin/bash", "-c", "ln -s /usr/local/bin/libreoffice* /usr/bin/soffice"] RUN /usr/bin/soffice --version -