Files
coder-images/python/Dockerfile.python3
T
anthorob 95e630e0cf
Build PHP Images / build (84) (push) Successful in 1m19s
Build PHP Images / build (82) (push) Successful in 1m23s
Build Java Images / build (21) (push) Successful in 1m33s
Build Python Images / build (push) Successful in 28s
fix
2026-03-18 09:04:32 -04:00

20 lines
533 B
Docker

FROM gitea.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