docker-nextcloud-notify-push/Dockerfile
renovate-bot cdd46c226e
All checks were successful
continuous-integration/drone/push Build is passing
Update rust Docker tag to v1.83.0 (#132)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| rust | final | minor | `1.81.0-bullseye` -> `1.83.0-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:eyJjcmVhdGVkSW5WZXIiOiIzOC4xMjAuMSIsInVwZGF0ZWRJblZlciI6IjM5LjQyLjQiLCJ0YXJnZXRCcmFuY2giOiJtYXN0ZXIiLCJsYWJlbHMiOltdfQ==-->

Reviewed-on: #132
Co-authored-by: renovate-bot <bot@walbeck.it>
Co-committed-by: renovate-bot <bot@walbeck.it>
2025-01-03 11:38:19 +00:00

26 lines
753 B
Docker

FROM rust:1.83.0-bullseye@sha256:666769451042f57d1d4cb25bdab43ff8749d93718574e3ae80b386de681f5f90 as build
# renovate: datasource=github-tags depName=nextcloud/notify_push versioning=semver
ENV NOTIFY_PUSH_VERSION v0.7.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"]