fix alpine

This commit is contained in:
Jesse Bannon 2025-09-27 15:47:05 -07:00
parent 8aaed69ff1
commit c766fb5689
3 changed files with 4 additions and 2 deletions

View file

@ -20,6 +20,7 @@ RUN mkdir -pv "${DEFAULT_WORKSPACE}" && \
nano \ nano \
unzip \ unzip \
make \ make \
deno \
libffi-dev \ libffi-dev \
"python3>=3.10" \ "python3>=3.10" \
py3-pip \ py3-pip \
@ -31,6 +32,7 @@ RUN mkdir -pv "${DEFAULT_WORKSPACE}" && \
"aria2>=1.36.0" && \ "aria2>=1.36.0" && \
ffmpeg -version && \ ffmpeg -version && \
aria2c --version && \ aria2c --version && \
deno --version && \
# Install phantomjs if using x86_64, ensure it is properly installed # Install phantomjs if using x86_64, ensure it is properly installed
if [[ $(uname -m) == "x86_64" ]]; then \ if [[ $(uname -m) == "x86_64" ]]; then \
echo "installing phantomjs" && \ echo "installing phantomjs" && \
@ -44,8 +46,6 @@ RUN mkdir -pv "${DEFAULT_WORKSPACE}" && \
phantomjs --version && \ phantomjs --version && \
cd -; \ cd -; \
fi && \ fi && \
# Install Deno, required for YouTube downloads
curl -fsSL https://deno.land/install.sh | DENO_INSTALL=/usr/local sh -s -- -y --no-modify-path && \
# Install ytdl-sub, ensure it is installed properly # Install ytdl-sub, ensure it is installed properly
python3 -m pip install --break-system-packages --no-cache-dir ytdl_sub-*.whl && \ python3 -m pip install --break-system-packages --no-cache-dir ytdl_sub-*.whl && \
ytdl-sub -h && \ ytdl-sub -h && \

View file

@ -64,6 +64,7 @@ RUN mkdir -p /config && \
fi && \ fi && \
# Install Deno, required for YouTube downloads # Install Deno, required for YouTube downloads
curl -fsSL https://deno.land/install.sh | DENO_INSTALL=/usr/local sh -s -- -y --no-modify-path && \ curl -fsSL https://deno.land/install.sh | DENO_INSTALL=/usr/local sh -s -- -y --no-modify-path && \
deno --help &&
# Install ytdl-sub, ensure it is installed properly # Install ytdl-sub, ensure it is installed properly
pip install --no-cache-dir --break-system-packages ytdl_sub-*.whl && \ pip install --no-cache-dir --break-system-packages ytdl_sub-*.whl && \
ytdl-sub -h && \ ytdl-sub -h && \

View file

@ -67,6 +67,7 @@ RUN mkdir -pv "${DEFAULT_WORKSPACE}" && \
fi && \ fi && \
# Install Deno, required for YouTube downloads # Install Deno, required for YouTube downloads
curl -fsSL https://deno.land/install.sh | DENO_INSTALL=/usr/local sh -s -- -y --no-modify-path && \ curl -fsSL https://deno.land/install.sh | DENO_INSTALL=/usr/local sh -s -- -y --no-modify-path && \
deno --help &&
# Install ytdl-sub, ensure it is installed properly # Install ytdl-sub, ensure it is installed properly
pip install --no-cache-dir --break-system-packages ytdl_sub-*.whl && \ pip install --no-cache-dir --break-system-packages ytdl_sub-*.whl && \
ytdl-sub -h && \ ytdl-sub -h && \