FROM public.ecr.aws/docker/library/alpine:3.21.3@sha256:a8560b36e8b8210634f77d9f7f9efd7ffa463e380b75e2e74aff4511df3ef88c SHELL ["/bin/ash", "-eo", "pipefail", "-c"] # hadolint ignore=DL3018 RUN apk add --no-cache ca-certificates curl # https://github.com/nextcloud/notify_push/releases ENV NOTIFY_PUSH_VERSION 0.7.0 SHELL ["/bin/ash", "-eo", "pipefail", "-c"] RUN set -ex; \ arch="x86_64"; \ triplet="unknown-linux-musl"; \ \ wget -q -O /usr/local/bin/notify_push "https://github.com/nextcloud/notify_push/releases/download/v${NOTIFY_PUSH_VERSION}/notify_push-$arch-$triplet"; \ \ chmod +x /usr/local/bin/notify_push; \ notify_push --version USER nobody COPY --chmod=775 ./containers/apps/nextcloud-push-notify/scripts/entrypoint.sh /entrypoint.sh ENTRYPOINT ["/entrypoint.sh"] LABEL "org.opencontainers.image.source"="https://github.com/truecharts/containers" ARG CONTAINER_NAME ARG CONTAINER_VER LABEL org.opencontainers.image.licenses="BSD-3-Clause" LABEL org.opencontainers.image.title="${CONTAINER_NAME}" LABEL org.opencontainers.image.url="https://truecharts.org/docs/charts/${CONTAINER_NAME}" LABEL org.opencontainers.image.version="${CONTAINER_VER}" LABEL org.opencontainers.image.description="Container for ${CONTAINER_NAME} by TrueCharts" LABEL org.opencontainers.image.authors="TrueCharts" LABEL org.opencontainers.image.documentation="https://truecharts.org/docs/charts/${CONTAINER_NAME}"