diff --git a/python/Dockerfile.python3 b/python/Dockerfile.python3 new file mode 100644 index 0000000..9a7d7c1 --- /dev/null +++ b/python/Dockerfile.python3 @@ -0,0 +1,20 @@ +FROM registry.bobert.me/anthorob/coder-base:latest + +USER root + +RUN apt-get update && \ + apt-get install -y --no-install-recommends \ + python3 \ + python3-pip \ + python3-venv \ + python3-dev \ + build-essential \ + python3-setuptools \ + python3-wheel \ + && apt-get clean && rm -rf /var/lib/apt/lists/* + +RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 1 && \ + update-alternatives --install /usr/bin/pip pip /usr/bin/pip3 1 + +USER coder +WORKDIR /home/coder \ No newline at end of file