Skip to content

Commit

Permalink
Docker: pin underlying debian version
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathieu Velten committed Jun 22, 2023
1 parent 1a701f7 commit fc6a2bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# file is created the first time Sydent runs.

# Step 1: install dependencies
FROM docker.io/python:3.8-slim as builder
FROM docker.io/python:3.8-slim-bookworm as builder

# Add user sydent
RUN addgroup --system --gid 993 sydent \
Expand Down Expand Up @@ -38,7 +38,7 @@ RUN ln -s $(python -m poetry env info -p) /home/sydent/venv
RUN find /home/sydent/venv -type f -name '*.pyc' -delete

# Step 2: Create runtime image
FROM docker.io/python:3.8-slim
FROM docker.io/python:3.8-slim-bookworm

# Add user sydent and create /data directory
RUN addgroup --system --gid 993 sydent \
Expand Down

0 comments on commit fc6a2bc

Please sign in to comment.