From f3e43725cba31e75c23c95fdf08722d92c3c2347 Mon Sep 17 00:00:00 2001 From: HelgeS Date: Sat, 2 Dec 2023 10:45:26 +0100 Subject: [PATCH 1/2] Update Dockerfile for recent colmap - Dropped Python 3.8 - Installed python3-pip --- Dockerfile | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index 00fd3f8e..d69028e0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,13 +1,6 @@ FROM colmap/colmap:latest MAINTAINER Paul-Edouard Sarlin -ARG PYTHON_VERSION=3.8 -RUN apt-get update -y -RUN apt-get install -y unzip wget software-properties-common -RUN add-apt-repository ppa:deadsnakes/ppa && \ - apt-get -y update && \ - apt-get install -y python${PYTHON_VERSION} -RUN wget https://bootstrap.pypa.io/get-pip.py && python${PYTHON_VERSION} get-pip.py -RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python${PYTHON_VERSION} 1 +RUN apt-get update -y && apt-get install -y unzip wget python3-pip COPY . /app WORKDIR app/ RUN pip3 install --upgrade pip From ff4d00c1c9de5b5d5d80e95ab57cb4574455d29f Mon Sep 17 00:00:00 2001 From: HelgeS Date: Sat, 2 Dec 2023 12:33:07 +0100 Subject: [PATCH 2/2] Update ipywidgets for jupyter notebooks --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index d69028e0..74158e6b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,4 +5,4 @@ COPY . /app WORKDIR app/ RUN pip3 install --upgrade pip RUN pip3 install -r requirements.txt -RUN pip3 install notebook +RUN pip3 install --upgrade notebook ipywidgets