Oviya commited on
Commit
a13bef7
·
1 Parent(s): a4bee0f
Files changed (1) hide show
  1. Dockerfile +3 -2
Dockerfile CHANGED
@@ -1,10 +1,11 @@
1
  # Dockerfile
2
- FROM python:3.11-slim
 
3
 
4
  ENV DEBIAN_FRONTEND=noninteractive
5
  ENV ACCEPT_EULA=Y
6
 
7
- # unixODBC + Microsoft repo (Debian 12) + ODBC 17 (no apt-key)
8
  RUN apt-get update && apt-get install -y --no-install-recommends \
9
  curl gnupg ca-certificates build-essential unixodbc unixodbc-dev \
10
  && mkdir -p /etc/apt/keyrings \
 
1
  # Dockerfile
2
+ # Pin to Debian 12 (bookworm) so the Microsoft repo exists
3
+ FROM python:3.11-slim-bookworm
4
 
5
  ENV DEBIAN_FRONTEND=noninteractive
6
  ENV ACCEPT_EULA=Y
7
 
8
+ # unixODBC + Microsoft repo (bookworm) + ODBC 17 (no apt-key)
9
  RUN apt-get update && apt-get install -y --no-install-recommends \
10
  curl gnupg ca-certificates build-essential unixodbc unixodbc-dev \
11
  && mkdir -p /etc/apt/keyrings \