[Dev] Add Deno to Dockerfiles (#801)
* Added Deno to Dockerfiles * Updated yt-dlp source * Added unzip * Update deno directory * The ACTUAL deno install path this time. Christ, am I new here? * Linting
This commit is contained in:
parent
076f2fe78b
commit
2a371c4419
2 changed files with 9 additions and 3 deletions
|
|
@ -13,7 +13,7 @@ RUN echo "Building for ${TARGETPLATFORM:?}"
|
||||||
RUN apt-get update -qq && \
|
RUN apt-get update -qq && \
|
||||||
apt-get install -y inotify-tools curl git openssh-client jq \
|
apt-get install -y inotify-tools curl git openssh-client jq \
|
||||||
python3 python3-setuptools python3-wheel python3-dev pipx \
|
python3 python3-setuptools python3-wheel python3-dev pipx \
|
||||||
python3-mutagen locales procps build-essential graphviz zsh
|
python3-mutagen locales procps build-essential graphviz zsh unzip
|
||||||
|
|
||||||
# Install ffmpeg
|
# Install ffmpeg
|
||||||
RUN export FFMPEG_DOWNLOAD=$(case ${TARGETPLATFORM:-linux/amd64} in \
|
RUN export FFMPEG_DOWNLOAD=$(case ${TARGETPLATFORM:-linux/amd64} in \
|
||||||
|
|
@ -32,8 +32,10 @@ RUN curl -sL https://deb.nodesource.com/setup_20.x -o nodesource_setup.sh && \
|
||||||
# Install baseline Elixir packages
|
# Install baseline Elixir packages
|
||||||
mix local.hex --force && \
|
mix local.hex --force && \
|
||||||
mix local.rebar --force && \
|
mix local.rebar --force && \
|
||||||
|
# Install Deno - required for YouTube downloads (See yt-dlp#14404)
|
||||||
|
curl -fsSL https://deno.land/install.sh | DENO_INSTALL=/usr/local sh -s -- -y --no-modify-path && \
|
||||||
# Download and update YT-DLP
|
# Download and update YT-DLP
|
||||||
curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o /usr/local/bin/yt-dlp && \
|
curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp_linux -o /usr/local/bin/yt-dlp && \
|
||||||
chmod a+rx /usr/local/bin/yt-dlp && \
|
chmod a+rx /usr/local/bin/yt-dlp && \
|
||||||
yt-dlp -U && \
|
yt-dlp -U && \
|
||||||
# Install Apprise
|
# Install Apprise
|
||||||
|
|
|
||||||
|
|
@ -94,13 +94,17 @@ RUN apt-get update -y && \
|
||||||
python3 \
|
python3 \
|
||||||
pipx \
|
pipx \
|
||||||
jq \
|
jq \
|
||||||
|
# unzip is needed for Deno
|
||||||
|
unzip \
|
||||||
procps && \
|
procps && \
|
||||||
|
# Install Deno - required for YouTube downloads (See yt-dlp#14404)
|
||||||
|
curl -fsSL https://deno.land/install.sh | DENO_INSTALL=/usr/local sh -s -- -y --no-modify-path && \
|
||||||
# Apprise
|
# Apprise
|
||||||
export PIPX_HOME=/opt/pipx && \
|
export PIPX_HOME=/opt/pipx && \
|
||||||
export PIPX_BIN_DIR=/usr/local/bin && \
|
export PIPX_BIN_DIR=/usr/local/bin && \
|
||||||
pipx install apprise && \
|
pipx install apprise && \
|
||||||
# yt-dlp
|
# yt-dlp
|
||||||
curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o /usr/local/bin/yt-dlp && \
|
curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp_linux -o /usr/local/bin/yt-dlp && \
|
||||||
chmod a+rx /usr/local/bin/yt-dlp && \
|
chmod a+rx /usr/local/bin/yt-dlp && \
|
||||||
yt-dlp -U && \
|
yt-dlp -U && \
|
||||||
# Set the locale
|
# Set the locale
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue