aboutsummaryrefslogtreecommitdiffhomepage
path: root/docker
diff options
context:
space:
mode:
authorAdam Janovsky2022-05-01 20:11:03 +0200
committerAdam Janovsky2022-05-01 20:11:03 +0200
commit84c87543cd63bf4e04be7645c08ee8d6a80509a1 (patch)
tree721d1fdd25eae843d603ab5a30e0f5fa07a2df95 /docker
parentca35699154156d1ff3c65a6c44b36f157a563ade (diff)
downloadsec-certs-84c87543cd63bf4e04be7645c08ee8d6a80509a1.tar.gz
sec-certs-84c87543cd63bf4e04be7645c08ee8d6a80509a1.tar.zst
sec-certs-84c87543cd63bf4e04be7645c08ee8d6a80509a1.zip
fix consq. of moving dockerfile
Diffstat (limited to 'docker')
-rw-r--r--docker/Dockerfile57
1 files changed, 0 insertions, 57 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
deleted file mode 100644
index eaf2d326..00000000
--- a/docker/Dockerfile
+++ /dev/null
@@ -1,57 +0,0 @@
-FROM ubuntu:jammy-20220428
-
-ENV USER="user"
-ENV NB_UID=1000
-ENV HOME /home/${USER}
-
-#installing dependencies
-RUN apt-get update
-RUN apt-get install python3 -y
-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
-
-# 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 -y
-RUN apt-get install libqpdf-dev -y
-RUN apt-get install default-jdk -y
-RUN apt-get install graphviz -y
-
-RUN adduser --disabled-password \
- --gecos "Default user" \
- --uid ${NB_UID} \
- ${USER}
-
-RUN chown -R ${NB_UID} ${HOME}
-USER ${USER}
-WORKDIR ${HOME}
-
-# Download only snapshot of repository
-RUN \
- curl -L https://api.github.com/repos/crocs-muni/sec-certs/tarball/main > sec-certs.tar.gz && \
- mkdir sec-certs && \
- tar zxf sec-certs.tar.gz --strip-components=1 --directory sec-certs && \
- rm sec-certs.tar.gz
-
-WORKDIR ${HOME}/sec-certs
-
-# Create virtual environment
-ENV VENV_PATH=${HOME}/venv
-RUN python3 -m venv ${VENV_PATH}
-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/requirements.txt && \
- pip3 install --no-cache notebook jupyterlab && \
- pip3 install -e .
-
-# #just to be sure that pdftotext is in $PATH
-ENV PATH /usr/bin/pdftotext:${PATH}
-
-# # Run the application:
-# CMD ["python3", "./cc_cli.py"]