Skip to content

Commit 09eb11b

Browse files
committed
switch to deno from alpine:edge, deno from alpine
1 parent d007217 commit 09eb11b

1 file changed

Lines changed: 7 additions & 10 deletions

File tree

youtube-dl/Dockerfile

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
1-
FROM ghcr.io/astral-sh/uv:alpine
1+
FROM alpine:edge
22
LABEL maintainer="Backplane BV <backplane@users.noreply.github.com>"
33

44
RUN set -eux; \
55
apk add --no-cache \
6-
'curl>=8.17' \
7-
'ffmpeg>=6' \
6+
'curl>=8.19' \
7+
'deno>=2.7' \
8+
'ffmpeg>=8.1' \
89
;
910

11+
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
12+
1013
ARG YTDLP_VERSION=2026
1114
ARG UV_TOOL_DIR=/usr/local/share/uv/bin
15+
ARG UV_TOOL_BIN_DIR=/usr/local/bin
1216
ARG UV_PYTHON_INSTALL_DIR=usr/local/share/uv
1317
RUN set -eux; \
1418
uv tool install "yt-dlp[default,curl-cffi]>=${YTDLP_VERSION}"; \
@@ -21,11 +25,4 @@ RUN set -eux; \
2125
USER nonroot
2226
WORKDIR /work
2327

24-
RUN set -eux; \
25-
INSTALLER="${HOME}/install.sh"; \
26-
curl -fsSL -o "$INSTALLER" 'https://deno.land/install.sh'; \
27-
/bin/sh "$INSTALLER";
28-
29-
ENV PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/nonroot/.deno/bin"
30-
3128
ENTRYPOINT [ "/usr/local/bin/yt-dlp" ]

0 commit comments

Comments
 (0)