version bump

This commit is contained in:
2025-06-06 09:29:45 -07:00
parent b134cc3af8
commit 1227af69c1
2 changed files with 9 additions and 8 deletions

View File

@@ -1,9 +1,9 @@
FROM debian AS tmp
ARG SCRIPT_VER=heads/master
WORKDIR /root
#COPY build-ffmpeg /root/build-ffmpeg
# https://github.com/markus-perl/ffmpeg-build-script/pull/227 git needed or x265 won't build
RUN apt update && apt install -y build-essential curl git && curl https://raw.githubusercontent.com/markus-perl/ffmpeg-build-script/refs/heads/master/build-ffmpeg >build-ffmpeg
RUN chmod +x build-ffmpeg && \
RUN apt update && apt install -y build-essential curl git
RUN curl https://raw.githubusercontent.com/markus-perl/ffmpeg-build-script/refs/${SCRIPT_VER}/build-ffmpeg >build-ffmpeg && \
chmod +x build-ffmpeg && \
NUMJOBS=12 ./build-ffmpeg -b --enable-gpl-and-non-free --full-static
FROM scratch

View File

@@ -1,10 +1,11 @@
#!/usr/bin/env bash
VERSION=7.1
docker build -t salfter/ffmpeg:latest . &&
SCRIPT_VER=tags/v1.55 # or heads/master for latest
VERSION=7.1.1
docker build -t salfter/ffmpeg:latest --build-arg SCRIPT_VER=$SCRIPT_VER . &&
docker push salfter/ffmpeg:latest &&
for tag in salfter/ffmpeg:$VERSION \
cr.gitlab.alfter.us/salfter/ffmpeg-docker:latest \
cr.gitlab.alfter.us/salfter/ffmpeg-docker:$VERSION
cr.gitlab.alfter.us/salfter/ffmpeg-docker:$VERSION \
cr.gitlab.alfter.us/salfter/ffmpeg-docker:latest
do
docker tag salfter/ffmpeg:latest $tag
docker push $tag