20 lines
605 B
Docker
20 lines
605 B
Docker
FROM gitea.bobert.me/anthorob/coder-base:latest@sha256:2d6e70e4b5be61fb7cf840fdf61e9837807a34d3e53238df983b8cace579ce03
|
|
|
|
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 |