Skip to content

Commit c101192

Browse files
committed
Dockerfile: Update from apk to apt
1 parent 85eb334 commit c101192

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM python:3.12 AS builder
22

33
COPY --from=ghcr.io/astral-sh/uv:0.6.9 /uv /uvx /bin/
4-
RUN apk add git
4+
RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/*
55
ENV UV_COMPILE_BYTECODE=1 UV_LINK_MODE=copy
66
# Disable Python downloads, because we want to use the system interpreter
77
# across both images. If using a managed Python version, it needs to be
@@ -20,7 +20,7 @@ RUN --mount=type=cache,target=/root/.cache/uv \
2020

2121
# Then, use a final image without uv
2222
FROM python:3.12
23-
RUN apk add ffmpeg
23+
RUN apt-get update && apt-get install -y ffmpeg && rm -rf /var/lib/apt/lists/*
2424

2525
# It is important to use the image that matches the builder, as the path to the
2626
# Python executable must be the same, e.g., using `python:3.11-slim-bookworm`

0 commit comments

Comments
 (0)