mirror of
https://git.vectorsigma.ru/public/photoview.git
synced 2026-08-03 21:09:05 +00:00
Add build workflow for workers. (#1047)
This commit is contained in:
26
dependencies/Dockerfile
vendored
Normal file
26
dependencies/Dockerfile
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
FROM --platform=${BUILDPLATFORM:-linux/amd64} debian:bookworm-slim AS build
|
||||
ARG TARGETPLATFORM
|
||||
|
||||
# See for details: https://github.com/hadolint/hadolint/wiki/DL4006
|
||||
SHELL ["/bin/bash", "-euo", "pipefail", "-c"]
|
||||
|
||||
RUN mkdir -p /tmp/build
|
||||
WORKDIR /tmp/build
|
||||
|
||||
COPY prepare.sh /tmp/build/
|
||||
RUN ./prepare.sh
|
||||
|
||||
COPY build_libraw.sh /tmp/build/
|
||||
RUN export $(cat /env) && ./build_libraw.sh
|
||||
COPY build_libheif.sh /tmp/build/
|
||||
RUN export $(cat /env) && ./build_libheif.sh
|
||||
COPY build_imagemagick.sh /tmp/build/
|
||||
RUN export $(cat /env) && ./build_imagemagick.sh
|
||||
COPY download_jellyfin-ffmpeg.sh /tmp/build/
|
||||
RUN export $(cat /env) && ./download_jellyfin-ffmpeg.sh
|
||||
|
||||
COPY output.sh /
|
||||
RUN /output.sh
|
||||
|
||||
FROM debian:bookworm-slim AS release
|
||||
COPY --from=build /artifacts.tar.gz /
|
||||
Reference in New Issue
Block a user