mirror of
https://github.com/appleboy/drone-telegram.git
synced 2026-06-04 10:14:50 +08:00
cd7b8b4656
- Upgrade FROM alpine:3.17 to alpine:3.23 - Resolve Trivy CRITICAL/HIGH CVE findings from EOL alpine 3.17
21 lines
605 B
Docker
21 lines
605 B
Docker
FROM alpine:3.23
|
|
|
|
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"]
|