* Updated docker to use buildx Buildkit * Updated github actions to include QEMU/buildx to build multiarch containers * Removed packages after build is done * Updated documentation to set the correct default thumbnail file name * Parallel jobs (#1) Implemented parallel docker builds on Github Actions * Updated default config file in Docker container * Replaced Pillow with ffmpeg for thumbnail converting (and updated documentation to change the default thumbnail to -thumb.jpg) (#2) * Swapped Pillow for ffmpeg for thumbnail conversion * Further changed default thumbname to include "-thumb" (Kodi needs this to pick up the thumbnail image) * Added ffmpeg bitexact for reproducability * Removed extra packages needed for Pillow * Updated ref check (#3) * Fixed formatting on if statement for deploy job Co-authored-by: Maka0 <bas@oddens.net>
39 lines
849 B
Docker
39 lines
849 B
Docker
FROM ghcr.io/linuxserver/baseimage-alpine:3.15
|
|
|
|
###############################################################################
|
|
# YTDL-SUB INSTALL
|
|
|
|
COPY root/ /
|
|
RUN apk update --no-cache && \
|
|
apk add \
|
|
vim \
|
|
g++ \
|
|
make \
|
|
ffmpeg && \
|
|
apk del \
|
|
python3 \
|
|
py3-pip && \
|
|
apk add --repository=http://dl-3.alpinelinux.org/alpine/edge/main/ \
|
|
python3=~3.10 \
|
|
py3-setuptools && \
|
|
apk add --repository=http://dl-3.alpinelinux.org/alpine/edge/community/ \
|
|
py3-pip && \
|
|
mkdir -p /config && \
|
|
pip install --no-cache-dir ytdl_sub-*.whl && \
|
|
rm ytdl_sub-*.whl && \
|
|
apk del \
|
|
g++ \
|
|
make \
|
|
py3-setuptools
|
|
|
|
###############################################################################
|
|
# CONTAINER CONFIGS
|
|
|
|
ENV EDITOR="nano" \
|
|
HOME="/config"
|
|
|
|
VOLUME /config
|
|
|
|
|
|
|
|
|