Skip to content

Commit

Permalink
Add a comment on why not using python as build_env.
Browse files Browse the repository at this point in the history
  • Loading branch information
yegle committed Dec 30, 2024
1 parent caeb15b commit 2bb8573
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ RUN rm -rf .*cache && \
find . -type f -name '*.py[c0]' -delete && \
find . -type d -name "__pycache__" -delete

# Why not use `python:bookworm`? Because the final app is served by
# distroless Python image, which is Debian + Python from Debain APT
# repo. The python intepreter in the `python:bookworm` image is not from
# Debian APT repo.
FROM debian:bookworm AS build_env
ARG BEANCOUNT_VERSION

Expand Down

0 comments on commit 2bb8573

Please sign in to comment.