mirror of
https://github.com/truecharts/charts.git
synced 2026-07-10 05:11:23 -03:00
37 lines
1.4 KiB
Docker
37 lines
1.4 KiB
Docker
FROM alpine:3.20.3@sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d
|
|
|
|
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 ./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}"
|