Skip to content

Commit

Permalink
Added ltex to base image
Browse files Browse the repository at this point in the history
  • Loading branch information
ajparsons committed Jan 11, 2022
1 parent 2cc2c9b commit 8b0e246
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
8 changes: 7 additions & 1 deletion packages_setup.bash
Original file line number Diff line number Diff line change
Expand Up @@ -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
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

0 comments on commit 8b0e246

Please sign in to comment.