docker-nextcloud-notify-push/Dockerfile
renovate-bot 9d4fd4cd7f
All checks were successful
Test / lint (pull_request) Successful in 3s
Test / test (pull_request) Successful in 6m20s
Build and publish / lint (push) Successful in 4s
Build and publish / build (push) Successful in 6m24s
Update rust:1.87.0-bullseye Docker digest to af1a29a
2025-06-12 12:19:09 +00:00

26 lines
753 B
Docker

FROM rust:1.87.0-bullseye@sha256:af1a29a166198e1295ca667007e95d2e70c866e3928ba9b25f3907035581c39e as build
# renovate: datasource=github-tags depName=nextcloud/notify_push versioning=semver
ENV NOTIFY_PUSH_VERSION v1.1.0
WORKDIR /notify_push
RUN set -ex; \
apt-get update; \
apt-get install -y --no-install-recommends \
musl-dev \
musl-tools \
; \
git clone --branch $NOTIFY_PUSH_VERSION https://github.com/nextcloud/notify_push.git .; \
rustup target add x86_64-unknown-linux-musl; \
cargo build --release --target=x86_64-unknown-linux-musl;
FROM scratch
COPY --from=build /notify_push/target/x86_64-unknown-linux-musl/release/notify_push /
EXPOSE 7867
USER 33
CMD ["/notify_push", "/config/config.php"]