Files
coder-images/python/Dockerfile.python3
T

20 lines
608 B
Docker

FROM registry.bobert.me/anthorob/coder-base:latest@sha256:7bdf5e79e5b7e8e1ab1813c8f2c50de1a0bb0766ef567273fb131feed6358510
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