From 44b6f5edb4ca2ec93e977f4eda3ca6efcb17bdb7 Mon Sep 17 00:00:00 2001 From: Simon Liang Date: Sun, 1 Jan 2023 13:49:55 +0800 Subject: [PATCH] Update Dockerfile --- Dockerfile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4a0ea66..f17f3f8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,18 +1,18 @@ -FROM nvidia/cuda:11.2.2-cudnn8-devel-ubuntu18.04 +FROM nvidia/cuda:11.3.0-cudnn8-devel-ubuntu20.04 RUN apt-get update && apt-get install -y build-essential software-properties-common git wget curl && \ add-apt-repository -y ppa:deadsnakes/ppa -RUN apt-get update && apt-get install -y python3.8 python3-distutils +RUN apt-get update && apt-get install -y python3.9 python3-distutils -RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.8 2 +RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.9 2 # make some useful symlinks that are expected to exist RUN cd /usr/bin \ && ln -s python3 python # if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value ''" -ENV PYTHON_PIP_VERSION 21.3.1 +ENV PYTHON_PIP_VERSION 22.3.1 # https://github.com/pypa/get-pip ENV PYTHON_GET_PIP_URL https://github.com/pypa/get-pip/raw/c20b0cfd643cd4a19246ccf204e2997af70f6b21/public/get-pip.py ENV PYTHON_GET_PIP_SHA256 fa6f3fb93cce234cd4e8dd2beb54a51ab9c247653b52855a48dd44e6b21ff28b @@ -43,7 +43,7 @@ ENV PYTHONFAULTHANDLER=1 \ PIP_NO_CACHE_DIR=off \ PIP_DISABLE_PIP_VERSION_CHECK=on \ PIP_DEFAULT_TIMEOUT=100 \ - POETRY_VERSION=1.1.11 \ - PIPENV_VERSION=2021.11.23 + POETRY_VERSION=1.3.1 \ + PIPENV_VERSION=2022.12.19 RUN pip install "poetry==$POETRY_VERSION" "pipenv==$PIPENV_VERSION"