mirror of
https://github.com/appleboy/drone-discord.git
synced 2026-06-04 10:23:47 +08:00
17f7e18d78
- Add a new `.hadolint.yaml` configuration file with specific rule ignores - Update the Dockerfile to install `ca-certificates` without a fixed version Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
21 lines
579 B
Docker
21 lines
579 B
Docker
FROM alpine:3.17
|
|
|
|
ARG TARGETOS
|
|
ARG TARGETARCH
|
|
|
|
LABEL maintainer="Bo-Yi Wu <appleboy.tw@gmail.com>" \
|
|
org.label-schema.name="Drone Discord 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-discord
|
|
LABEL org.opencontainers.image.description="Drone Discord"
|
|
LABEL org.opencontainers.image.licenses=MIT
|
|
|
|
RUN apk add --no-cache ca-certificates && \
|
|
rm -rf /var/cache/apk/*
|
|
|
|
COPY release/${TARGETOS}/${TARGETARCH}/drone-discord /bin/
|
|
|
|
ENTRYPOINT ["/bin/drone-discord"]
|