mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-09-06 10:59:36 +02:00
Authored by: Grub4K, bashonly Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
22 lines
461 B
Docker
22 lines
461 B
Docker
FROM alpine:3.19 as base
|
|
|
|
RUN apk --update add --no-cache \
|
|
build-base \
|
|
python3 \
|
|
pipx \
|
|
;
|
|
|
|
RUN pipx install pyinstaller
|
|
# Requires above step to prepare the shared venv
|
|
RUN ~/.local/share/pipx/shared/bin/python -m pip install -U wheel
|
|
RUN apk --update add --no-cache \
|
|
scons \
|
|
patchelf \
|
|
binutils \
|
|
;
|
|
RUN pipx install staticx
|
|
|
|
WORKDIR /yt-dlp
|
|
COPY entrypoint.sh /entrypoint.sh
|
|
ENTRYPOINT /entrypoint.sh
|