From 1fc4db40a2a02540dc2d80d3cb822725edda2dc4 Mon Sep 17 00:00:00 2001 From: feederbox826 Date: Tue, 1 Oct 2024 19:25:56 -0400 Subject: [PATCH] use py3.12 base for hwaccel --- dockerfile/alpine.Dockerfile | 6 +++--- dockerfile/hwaccel.Dockerfile | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/dockerfile/alpine.Dockerfile b/dockerfile/alpine.Dockerfile index cf8301c..be26094 100644 --- a/dockerfile/alpine.Dockerfile +++ b/dockerfile/alpine.Dockerfile @@ -4,9 +4,9 @@ ARG \ UPSTREAM_STASH="stashapp/stash:${STASH_TAG}" FROM $UPSTREAM_STASH AS stash -FROM alpine:3.20 AS uv -RUN apk add curl && \ - curl -LsSf https://astral.sh/uv/install.sh | sh && \ +FROM alpine:3 AS uv +ADD https://astral.sh/uv/install.sh /install.sh +RUN sh /install.sh && \ mv /root/.cargo/bin/uv /uv FROM alpine:3.20 AS final diff --git a/dockerfile/hwaccel.Dockerfile b/dockerfile/hwaccel.Dockerfile index 71aae89..d92353b 100644 --- a/dockerfile/hwaccel.Dockerfile +++ b/dockerfile/hwaccel.Dockerfile @@ -4,12 +4,12 @@ ARG \ UPSTREAM_STASH="stashapp/stash:${STASH_TAG}" FROM $UPSTREAM_STASH AS stash -FROM alpine:3.20 AS uv -RUN apk add curl && \ - curl -LsSf https://astral.sh/uv/install.sh | sh && \ +FROM alpine:3 AS uv +ADD https://astral.sh/uv/install.sh /install.sh +RUN sh /install.sh && \ mv /root/.cargo/bin/uv /uv -FROM debian:bookworm-slim AS final +FROM python:3.12-slim-bookworm AS final # arguments ARG \