mirror of
https://github.com/appleboy/drone-discord.git
synced 2026-06-04 10:23:47 +08:00
chore: refine Docker setup and configuration
- 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>
This commit is contained in:
@@ -0,0 +1,3 @@
|
|||||||
|
ignored:
|
||||||
|
- DL3018
|
||||||
|
- DL3008
|
||||||
+1
-1
@@ -12,7 +12,7 @@ LABEL org.opencontainers.image.source=https://github.com/appleboy/drone-discord
|
|||||||
LABEL org.opencontainers.image.description="Drone Discord"
|
LABEL org.opencontainers.image.description="Drone Discord"
|
||||||
LABEL org.opencontainers.image.licenses=MIT
|
LABEL org.opencontainers.image.licenses=MIT
|
||||||
|
|
||||||
RUN apk add --no-cache ca-certificates=20230506-r0 && \
|
RUN apk add --no-cache ca-certificates && \
|
||||||
rm -rf /var/cache/apk/*
|
rm -rf /var/cache/apk/*
|
||||||
|
|
||||||
COPY release/${TARGETOS}/${TARGETARCH}/drone-discord /bin/
|
COPY release/${TARGETOS}/${TARGETARCH}/drone-discord /bin/
|
||||||
|
|||||||
Reference in New Issue
Block a user