docker-nextcloud-notify-push/Dockerfile
Magnus Walbeck f923a9f92a
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
what about this
2021-06-25 17:11:05 +02:00

19 lines
538 B
Docker

FROM ekidd/rust-musl-builder:1.51.0@sha256:674e368c5fd2259ba83de6c334b6cdd64ed2c77ad58de58c4938a2c1e848967e as build
# renovate: datasource=github-tags depName=nextcloud/notify_push versioning=semver
ENV NOTIFY_PUSH_VERSION v0.2.0
RUN set -ex; \
git clone --branch $NOTIFY_PUSH_VERSION https://github.com/nextcloud/notify_push.git .; \
cargo build --release;
FROM scratch
COPY --from=build /home/rust/src/target/x86_64-unknown-linux-musl/release/notify_push /
EXPOSE 7867
USER 33
CMD ["/notify_push", "/config/config.php"]