diff options
| author | adamjanovsky | 2022-04-04 18:01:25 +0200 |
|---|---|---|
| committer | GitHub | 2022-04-04 18:01:25 +0200 |
| commit | b0e4e9ed1a25f163dab45980cc5a32bcb0dacee9 (patch) | |
| tree | 052eb8b6bdae4ac3c9ff1c89a5e469bce8ba01c6 /docker | |
| parent | 7df07064bb0deb4deb51d7cf6ad3e9717a4a5edc (diff) | |
| download | sec-certs-b0e4e9ed1a25f163dab45980cc5a32bcb0dacee9.tar.gz sec-certs-b0e4e9ed1a25f163dab45980cc5a32bcb0dacee9.tar.zst sec-certs-b0e4e9ed1a25f163dab45980cc5a32bcb0dacee9.zip | |
Refactor/pdftotext as library (#183)
- Update Docker Ubuntu to 22.04
- Test pipeline now installs fresh Poppler
- Poppler-utils package no longer needed
- Paragraph on project dependencies added to CONTRIBUTING.md
- Pdftotext is no longer called with subprocess call, but API is leveraged instead
Diffstat (limited to 'docker')
| -rw-r--r-- | docker/Dockerfile | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile index 3efb0465..c691716c 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,4 +1,4 @@ -FROM ubuntu +FROM ubuntu:jammy ENV USER="user" ENV HOME /home/${USER} @@ -10,13 +10,11 @@ RUN apt-get install python3-pip -y RUN apt-get install python3-venv -y RUN apt-get install git -y RUN apt-get install curl -y -RUN apt-get install python3.8-venv -y # Install dependencies fo PyPDF2 and pdftotext RUN DEBIAN_FRONTEND="noninteractive" apt-get -y install tzdata -RUN apt-get install build-essential libpoppler-cpp-dev pkg-config python3-dev poppler-utils -y +RUN apt-get install build-essential libpoppler-cpp-dev pkg-config python3-dev -y RUN apt-get install libqpdf-dev -y -RUN apt-get install pkg-config -y RUN apt-get install default-jdk -y RUN apt-get install graphviz -y @@ -42,6 +40,7 @@ ENV PATH="${VENV_PATH}/bin:$PATH" # Install dependencies, notebook is because of mybinder.org RUN \ + pip3 install -U pip && \ pip3 install wheel && \ pip3 install -r requirements.txt && \ pip3 install --no-cache notebook |
