mirror of
https://github.com/appleboy/drone-telegram.git
synced 2026-06-04 18:23:45 +08:00
104ffc4fe7
- Add a new configuration file for Hadolint with specific ignored rules - Change the Dockerfile maintainer label from SSH Plugin to Telegram Plugin - Update the Dockerfile to remove the specific version of ca-certificates and install the latest version instead Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
21 lines
605 B
Docker
21 lines
605 B
Docker
FROM alpine:3.17
|
|
|
|
ARG TARGETOS
|
|
ARG TARGETARCH
|
|
|
|
LABEL maintainer="Bo-Yi Wu <appleboy.tw@gmail.com>" \
|
|
org.label-schema.name="Telegram Plugin" \
|
|
org.label-schema.vendor="Bo-Yi Wu" \
|
|
org.label-schema.schema-version="1.0"
|
|
|
|
LABEL org.opencontainers.image.source=https://github.com/appleboy/drone-telegram
|
|
LABEL org.opencontainers.image.description="plugin for sending telegram notifications"
|
|
LABEL org.opencontainers.image.licenses=MIT
|
|
|
|
RUN apk add --no-cache ca-certificates && \
|
|
rm -rf /var/cache/apk/*
|
|
|
|
COPY release/${TARGETOS}/${TARGETARCH}/drone-telegram /bin/
|
|
|
|
ENTRYPOINT ["/bin/drone-telegram"]
|