Install deno

https://github.com/yt-dlp/yt-dlp/issues/14404
This commit is contained in:
rroller 2025-10-05 11:09:55 -07:00
parent 05bfa58df8
commit 8bd20aae17
3 changed files with 7 additions and 2 deletions

View file

@ -19,6 +19,8 @@ FROM python:3.13.7-alpine3.22
ENV MR_DOWNLOAD_DIR="/download" ENV MR_DOWNLOAD_DIR="/download"
RUN apk add --update --no-cache \ RUN apk add --update --no-cache \
# https://github.com/yt-dlp/yt-dlp/issues/14404 \
deno \
curl curl
# https://hub.docker.com/r/mwader/static-ffmpeg/tags # https://hub.docker.com/r/mwader/static-ffmpeg/tags

View file

@ -1,13 +1,14 @@
package media package media
import ( import (
"github.com/matishsiao/goInfo"
"github.com/rs/zerolog/log"
"html/template" "html/template"
"media-roller/src/utils" "media-roller/src/utils"
"net/http" "net/http"
"regexp" "regexp"
"strings" "strings"
"github.com/matishsiao/goInfo"
"github.com/rs/zerolog/log"
) )
var aboutIndexTmpl = template.Must(template.ParseFiles("templates/media/about.html")) var aboutIndexTmpl = template.Must(template.ParseFiles("templates/media/about.html"))
@ -28,6 +29,7 @@ func AboutIndex(w http.ResponseWriter, _ *http.Request) {
"pythonVersion": strings.TrimPrefix(pythonVersion, "Python "), "pythonVersion": strings.TrimPrefix(pythonVersion, "Python "),
"ffmpegVersion": newlineRegex.Split(utils.RunCommand("ffmpeg", "-version"), -1), "ffmpegVersion": newlineRegex.Split(utils.RunCommand("ffmpeg", "-version"), -1),
"ffprobeVersion": newlineRegex.Split(utils.RunCommand("ffprobe", "-version"), -1), "ffprobeVersion": newlineRegex.Split(utils.RunCommand("ffprobe", "-version"), -1),
"deno": strings.TrimPrefix(utils.RunCommand("deno", "--version"), "go version "),
"os": gi.OS, "os": gi.OS,
"kernel": gi.Kernel, "kernel": gi.Kernel,
"core": gi.Core, "core": gi.Core,

View file

@ -32,6 +32,7 @@
<td><a href="https://www.python.org/downloads/">Python</a></td> <td><a href="https://www.python.org/downloads/">Python</a></td>
<td>{{ $.pythonVersion }}</td> <td>{{ $.pythonVersion }}</td>
</tr> </tr>
<tr><td>deno</td><td>{{ $.deno }}</td></tr>
<tr><td>os</td><td>{{ $.os }}</td></tr> <tr><td>os</td><td>{{ $.os }}</td></tr>
<tr><td>kernel</td><td>{{ $.kernel }}</td></tr> <tr><td>kernel</td><td>{{ $.kernel }}</td></tr>
<tr><td>core</td><td>{{ $.core }}</td></tr> <tr><td>core</td><td>{{ $.core }}</td></tr>