mirror of
https://git.vectorsigma.ru/public/photoview.git
synced 2026-08-03 16:09:14 +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 }}
|
images: ${{ env.DOCKER_IMAGE }}
|
||||||
# Docker tags based on the following events/attributes
|
# Docker tags based on the following events/attributes
|
||||||
tags: |
|
tags: |
|
||||||
type=raw,value=latest
|
type=raw,value=trixie
|
||||||
type=sha
|
type=sha
|
||||||
|
|
||||||
- name: Detect dependency versions
|
- 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
|
ARG TARGETPLATFORM
|
||||||
SHELL ["/bin/bash", "-euo", "pipefail", "-c"]
|
SHELL ["/bin/bash", "-euo", "pipefail", "-c"]
|
||||||
COPY --chmod=0755 prepare.sh /tmp/
|
COPY --chmod=0755 prepare.sh /tmp/
|
||||||
@@ -65,5 +65,5 @@ COPY --from=download-jellyfin-ffmpeg /output/ /output/
|
|||||||
COPY --chmod=0755 output.sh /
|
COPY --chmod=0755 output.sh /
|
||||||
RUN /output.sh
|
RUN /output.sh
|
||||||
|
|
||||||
FROM debian:bookworm-slim AS release
|
FROM debian:trixie-slim AS release
|
||||||
COPY --from=final-assembly /artifacts.tar.gz /
|
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}"
|
VER="${JELLYFIN_FFMPEG_VERSION#v}"
|
||||||
MAJOR_VER=$(echo "${VER}" | cut -d. -f1)
|
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"
|
echo download jellyfin-ffmpeg from "$URL"
|
||||||
mkdir -p /output/deb
|
mkdir -p /output/deb
|
||||||
curl -fsSL --retry 2 --retry-delay 5 --retry-max-time 60 -o /output/deb/jellyfin-ffmpeg.deb "$URL"
|
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 \
|
ca-certificates \
|
||||||
crossbuild-essential-"${DEBIAN_ARCH}" \
|
crossbuild-essential-"${DEBIAN_ARCH}" \
|
||||||
libc-dev:"${DEBIAN_ARCH}" \
|
libc-dev:"${DEBIAN_ARCH}" \
|
||||||
|
dpkg-dev \
|
||||||
autoconf \
|
autoconf \
|
||||||
automake \
|
automake \
|
||||||
libtool \
|
libtool \
|
||||||
|
|||||||
Reference in New Issue
Block a user