docker-nextcloud-notify-push/Dockerfile
renovate-bot bffb853078
All checks were successful
Build and publish / lint (push) Successful in 4s
Build and publish / build (push) Successful in 7m0s
Update rust Docker tag to v1.84.1 (#133)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| rust | final | minor | `1.83.0-bullseye` -> `1.84.1-bullseye` |

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS45MS4wIiwidXBkYXRlZEluVmVyIjoiMzkuMTU2LjEiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbXX0=-->

Reviewed-on: #133
Co-authored-by: renovate-bot <bot@walbeck.it>
Co-committed-by: renovate-bot <bot@walbeck.it>
2025-02-16 18:57:25 +00:00

26 lines
753 B
Docker

FROM rust:1.84.1-bullseye@sha256:1e3f7a9fd1f278cc4be02a830745f40fe4b22f0114b2464a452c50273cc1020d as build
# renovate: datasource=github-tags depName=nextcloud/notify_push versioning=semver
ENV NOTIFY_PUSH_VERSION v1.0.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"]