mirror of
https://git.vectorsigma.ru/public/photoview.git
synced 2026-07-28 22:28:48 +00:00
Update dependencies with Debian trixie (#1285)
* Update dep to trixie. * Update image tag.
This commit is contained in:
2
.github/workflows/dependencies.yml
vendored
2
.github/workflows/dependencies.yml
vendored
@@ -48,7 +48,7 @@ jobs:
|
||||
images: ${{ env.DOCKER_IMAGE }}
|
||||
# Docker tags based on the following events/attributes
|
||||
tags: |
|
||||
type=raw,value=latest
|
||||
type=raw,value=trixie
|
||||
type=sha
|
||||
|
||||
- name: Detect dependency versions
|
||||
|
||||
4
dependencies/Dockerfile
vendored
4
dependencies/Dockerfile
vendored
@@ -1,4 +1,4 @@
|
||||
FROM --platform=${BUILDPLATFORM:-linux/amd64} debian:bookworm-slim AS base-prep
|
||||
FROM --platform=${BUILDPLATFORM:-linux/amd64} debian:trixie-slim AS base-prep
|
||||
ARG TARGETPLATFORM
|
||||
SHELL ["/bin/bash", "-euo", "pipefail", "-c"]
|
||||
COPY --chmod=0755 prepare.sh /tmp/
|
||||
@@ -65,5 +65,5 @@ COPY --from=download-jellyfin-ffmpeg /output/ /output/
|
||||
COPY --chmod=0755 output.sh /
|
||||
RUN /output.sh
|
||||
|
||||
FROM debian:bookworm-slim AS release
|
||||
FROM debian:trixie-slim AS release
|
||||
COPY --from=final-assembly /artifacts.tar.gz /
|
||||
|
||||
2
dependencies/download_jellyfin-ffmpeg.sh
vendored
2
dependencies/download_jellyfin-ffmpeg.sh
vendored
@@ -29,7 +29,7 @@ echo Compiler: "${DEB_HOST_GNU_TYPE}" Arch: "${DEB_HOST_ARCH}"
|
||||
|
||||
VER="${JELLYFIN_FFMPEG_VERSION#v}"
|
||||
MAJOR_VER=$(echo "${VER}" | cut -d. -f1)
|
||||
URL="https://github.com/jellyfin/jellyfin-ffmpeg/releases/download/${JELLYFIN_FFMPEG_VERSION}/jellyfin-ffmpeg${MAJOR_VER}_${VER}-bookworm_${DEB_HOST_ARCH}.deb"
|
||||
URL="https://github.com/jellyfin/jellyfin-ffmpeg/releases/download/${JELLYFIN_FFMPEG_VERSION}/jellyfin-ffmpeg${MAJOR_VER}_${VER}-trixie_${DEB_HOST_ARCH}.deb"
|
||||
echo download jellyfin-ffmpeg from "$URL"
|
||||
mkdir -p /output/deb
|
||||
curl -fsSL --retry 2 --retry-delay 5 --retry-max-time 60 -o /output/deb/jellyfin-ffmpeg.deb "$URL"
|
||||
|
||||
1
dependencies/prepare.sh
vendored
1
dependencies/prepare.sh
vendored
@@ -18,6 +18,7 @@ apt-get install -y \
|
||||
ca-certificates \
|
||||
crossbuild-essential-"${DEBIAN_ARCH}" \
|
||||
libc-dev:"${DEBIAN_ARCH}" \
|
||||
dpkg-dev \
|
||||
autoconf \
|
||||
automake \
|
||||
libtool \
|
||||
|
||||
Reference in New Issue
Block a user