acecalisto3 commited on
Commit
ac92e51
·
verified ·
1 Parent(s): 4eaaf93

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -0
Dockerfile CHANGED
@@ -1,6 +1,10 @@
1
  # Use an official Python runtime as a parent image (Debian 11 Bullseye)
2
  FROM python:3.9-slim-bullseye
3
 
 
 
 
 
4
  # Disable Python bytecode, buffer stdout/stderr, pin NumPy <2, and redirect caches
5
  # Corrected LLVM_CONFIG to match installed version (llvm-11 below)
6
  ENV PYTHONDONTWRITEBYTECODE=1 \
 
1
  # Use an official Python runtime as a parent image (Debian 11 Bullseye)
2
  FROM python:3.9-slim-bullseye
3
 
4
+ # Explicitly set /etc/apt/sources.list for LTS (main and security only; exclude obsolete bullseye-updates)
5
+ RUN echo "deb http://deb.debian.org/debian bullseye main" > /etc/apt/sources.list \
6
+ && echo "deb http://security.debian.org/debian-security bullseye-security main" >> /etc/apt/sources.list
7
+
8
  # Disable Python bytecode, buffer stdout/stderr, pin NumPy <2, and redirect caches
9
  # Corrected LLVM_CONFIG to match installed version (llvm-11 below)
10
  ENV PYTHONDONTWRITEBYTECODE=1 \