From 8b0e24657df31c1ab33703af40f01bef9f7fc6e6 Mon Sep 17 00:00:00 2001 From: Alex Parsons Date: Tue, 11 Jan 2022 10:46:31 +0000 Subject: [PATCH] Added ltex to base image --- Dockerfile | 4 +--- packages_setup.bash | 8 +++++++- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index ed04f0b..b77c788 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,8 +2,6 @@ FROM python:3.8-buster ENV DEBIAN_FRONTEND noninteractive -COPY packages_setup.bash / +COPY packages_setup.bash base_requirements.txt / RUN chmod +x /packages_setup.bash && /packages_setup.bash - -COPY base_requirements.txt / RUN pip install -r /base_requirements.txt \ No newline at end of file diff --git a/packages_setup.bash b/packages_setup.bash index c70ba05..a60fa64 100644 --- a/packages_setup.bash +++ b/packages_setup.bash @@ -41,4 +41,10 @@ wget https://github.com/adobe-fonts/source-sans-pro/archive/2.020R-ro/1.075R-it. unzip 1.075R-it.zip cp source-sans-2.020R-ro-1.075R-it/OTF/*.otf ~/.fonts/ -fc-cache -f -v \ No newline at end of file +fc-cache -f -v + +cd /tmp/ +wget https://github.com/valentjn/ltex-ls/releases/download/15.2.0/ltex-ls-15.2.0-linux-x64.tar.gz +mkdir /usr/ltex +tar -xf ltex-ls-15.2.0-linux-x64.tar.gz -C /usr/ltex +rm ltex-ls-15.2.0-linux-x64.tar.gz \ No newline at end of file