-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
8 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,20 @@ | ||
FROM alpine:latest | ||
FROM python:3.12-slim | ||
LABEL maintainer="Timo Taskinen <[email protected]>" | ||
|
||
RUN apk update && apk add --no-cache \ | ||
RUN apt-get update && apt-get install -y \ | ||
bash \ | ||
build-essential \ | ||
ffmpeg \ | ||
gcc \ | ||
libffi-dev \ | ||
libxml2-dev \ | ||
libxslt-dev \ | ||
make \ | ||
musl-dev \ | ||
pipx \ | ||
python3 \ | ||
python3-dev \ | ||
wget | ||
wget \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
RUN pipx install yle-dl | ||
RUN pipx ensurepath | ||
RUN PIPX_HOME=/opt/pipx PIPX_BIN_DIR=/usr/local/bin pipx install yle-dl | ||
|
||
WORKDIR /out | ||
ENTRYPOINT ["/root/.local/bin/yle-dl"] | ||
ENTRYPOINT ["yle-dl"] |