update repository references and improve script handling
This commit is contained in:
14
base_docker_images/python/3.11/Dockerfile
Normal file
14
base_docker_images/python/3.11/Dockerfile
Normal file
@@ -0,0 +1,14 @@
|
||||
FROM python:3.11-slim
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends gcc curl && \
|
||||
pip install --no-cache-dir uvloop && \
|
||||
apt-get remove -y gcc && \
|
||||
apt-get autoremove -y && \
|
||||
apt-get clean && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN curl -LsSf https://astral.sh/uv/install.sh | sh
|
||||
RUN echo 'eval "$(uv generate-shell-completion bash)"' >> ~/.bashrc
|
||||
|
||||
CMD ["python"]
|
||||
Reference in New Issue
Block a user