diff --git a/docker/build/x86_64/Dockerfile b/docker/build/x86_64/Dockerfile index cf47278e31d..acc6bf098db 100644 --- a/docker/build/x86_64/Dockerfile +++ b/docker/build/x86_64/Dockerfile @@ -32,6 +32,8 @@ RUN make flags-release flags-pie stash # Final Runnable Image FROM alpine:latest +ARG STASH_VERSION +LABEL org.opencontainers.image.source="https://github.com/stashapp/stash/" org.opencontainers.image.revision=${STASH_VERSION} RUN apk add --no-cache ca-certificates vips-tools ffmpeg COPY --from=backend /stash/stash /usr/bin/ ENV STASH_CONFIG_FILE=/root/.stash/config.yml diff --git a/docker/build/x86_64/Dockerfile-CUDA b/docker/build/x86_64/Dockerfile-CUDA index 53ebb60c03b..c7f0ed2b785 100644 --- a/docker/build/x86_64/Dockerfile-CUDA +++ b/docker/build/x86_64/Dockerfile-CUDA @@ -32,6 +32,8 @@ RUN make flags-release flags-pie stash # Final Runnable Image FROM nvidia/cuda:12.0.1-base-ubuntu22.04 +ARG STASH_VERSION +LABEL org.opencontainers.image.source="https://github.com/stashapp/stash/" org.opencontainers.image.revision=${STASH_VERSION} RUN apt update && apt upgrade -y && apt install -y ca-certificates libvips-tools ffmpeg wget intel-media-va-driver-non-free vainfo RUN rm -rf /var/lib/apt/lists/* COPY --from=backend /stash/stash /usr/bin/