Compare commits

...

3 Commits

2 changed files with 15 additions and 4 deletions

View File

@ -2,7 +2,15 @@
1. Download the "root" folder from the [Tdarr Repo (direct link)](https://github.com/HaveAGitGat/Tdarr/tree/master/docker/root)
2. Place this folder in here, next to the dockerfile
3. Build the container. `buildah bud -t tdarr-ffmpeg5.1:<tag> -f debian-bullseye.dockerfile`
3. Build the server and the node container
### Server
`$ buildah bud -t tdarr-server-ffmpeg5.1:2 -t tdarr-server-ffmpeg5.1:latest -f debian-bullseye.dockerfile`
### Node
`$ buildah bud -t tdarr-node-ffmpeg5.1:2 -t tdarr-node-ffmpeg5.1:latest -f debian-bullseye.dockerfile --build-arg "MODULE=Tdarr_Node"`
## Versions

View File

@ -20,6 +20,7 @@ RUN apt-get update && \
apt-get install -y \
software-properties-common \
git \
vainfo \
trash-cli && \
mkdir -p \
/app \
@ -45,7 +46,7 @@ RUN apt-get update && \
apt-get update && \
apt-get install -y --no-install-recommends \
intel-media-va-driver-non-free \
vainfo \
#vainfo \
mesa-va-drivers && \
# HandBrake deps
@ -122,12 +123,14 @@ RUN if [ "$MODULE" = "Tdarr_Node" ]; then \
apt-get update && apt-get install -y curl unzip mkvtoolnix libtesseract-dev && \
if uname -m | grep -q x86; then \
curl --connect-timeout 120 --retry 5 -o /tmp/$MODULE.zip -L \
"https://tdarrs.s3.us-west-000.backblazeb2.com/versions/$VERSION/linux_x64/$MODULE.zip" && \
"https://f000.backblazeb2.com/file/tdarrs/versions/$VERSION/linux_x64/$MODULE.zip" && \
#"https://tdarrs.s3.us-west-000.backblazeb2.com/versions/$VERSION/linux_x64/$MODULE.zip" && \
unzip -q /tmp/$MODULE.zip -d /app/$MODULE -x *.exe && \
if [ "$MODULE" = "Tdarr_Server" ]; then \
curl --connect-timeout 120 --retry 5 -o /tmp/Tdarr_Node.zip -L \
"https://tdarrs.s3.us-west-000.backblazeb2.com/versions/$VERSION/linux_x64/Tdarr_Node.zip" && \
"https://f000.backblazeb2.com/file/tdarrs/versions/$VERSION/linux_x64/Tdarr_Node.zip" && \
#"https://tdarrs.s3.us-west-000.backblazeb2.com/versions/$VERSION/linux_x64/Tdarr_Node.zip" && \
unzip -q /tmp/Tdarr_Node.zip -d /app/Tdarr_Node -x *.exe ; \
fi ; \
fi && \