diff options
| author | Adam Janovsky | 2021-05-14 16:14:54 +0200 |
|---|---|---|
| committer | Adam Janovsky | 2021-05-14 16:14:54 +0200 |
| commit | dddceeb8ff1e130dcdbc57f12ebc1d2f2eeb5934 (patch) | |
| tree | d886809b9fc00eecebfc835db292076fd6474a3b /Dockerfile | |
| parent | b5573af6af385ab85fd4cf4fa5f7f3c2ea62edc4 (diff) | |
| download | sec-certs-dddceeb8ff1e130dcdbc57f12ebc1d2f2eeb5934.tar.gz sec-certs-dddceeb8ff1e130dcdbc57f12ebc1d2f2eeb5934.tar.zst sec-certs-dddceeb8ff1e130dcdbc57f12ebc1d2f2eeb5934.zip | |
trying to workout the dockerfile for binder
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -1,5 +1,16 @@ FROM ubuntu +ARG NB_USER +ARG NB_UID +ENV USER ${NB_USER} +ENV HOME /home/${NB_USER} + +RUN adduser --disabled-password \ + --gecos "Default user" \ + --uid ${NB_UID} \ + ${NB_USER} +WORKDIR ${HOME} + #installing dependencies RUN apt-get update RUN apt-get install python3 -y @@ -25,6 +36,7 @@ ENV PATH="$VIRTUAL_ENV/bin:$PATH" RUN cp /opt/sec-certs/requirements.txt . RUN pip install wheel RUN pip install -r requirements.txt +RUN pip install --no-cache notebook #just to be sure that pdftotext is in $PATH ENV PATH /usr/bin/pdftotext:${PATH} |
