refactor: docker
This commit is contained in:
parent
989fa33240
commit
e8f060bafa
@ -1,13 +0,0 @@
|
|||||||
FROM alpine:3.7
|
|
||||||
|
|
||||||
LABEL maintainer="Bo-Yi Wu <appleboy.tw@gmail.com>" \
|
|
||||||
org.label-schema.name="Drone Telegram" \
|
|
||||||
org.label-schema.vendor="Bo-Yi Wu" \
|
|
||||||
org.label-schema.schema-version="1.0"
|
|
||||||
|
|
||||||
RUN apk add -U --no-cache ca-certificates && \
|
|
||||||
rm -rf /var/cache/apk/*
|
|
||||||
|
|
||||||
ADD release/linux/amd64/drone-telegram /bin/
|
|
||||||
|
|
||||||
ENTRYPOINT ["/bin/drone-telegram"]
|
|
@ -1,10 +0,0 @@
|
|||||||
FROM plugins/base:multiarch
|
|
||||||
|
|
||||||
LABEL maintainer="Bo-Yi Wu <appleboy.tw@gmail.com>" \
|
|
||||||
org.label-schema.name="Drone Telegram" \
|
|
||||||
org.label-schema.vendor="Bo-Yi Wu" \
|
|
||||||
org.label-schema.schema-version="1.0"
|
|
||||||
|
|
||||||
ADD release/linux/amd64/drone-telegram /bin/
|
|
||||||
|
|
||||||
ENTRYPOINT ["/bin/drone-telegram"]
|
|
@ -1,7 +1,7 @@
|
|||||||
FROM plugins/base:multiarch
|
FROM plugins/base:linux-amd64
|
||||||
|
|
||||||
LABEL maintainer="Bo-Yi Wu <appleboy.tw@gmail.com>" \
|
LABEL maintainer="Bo-Yi Wu <appleboy.tw@gmail.com>" \
|
||||||
org.label-schema.name="Drone Telegram" \
|
org.label-schema.name="Drone telegram" \
|
||||||
org.label-schema.vendor="Bo-Yi Wu" \
|
org.label-schema.vendor="Bo-Yi Wu" \
|
||||||
org.label-schema.schema-version="1.0"
|
org.label-schema.schema-version="1.0"
|
||||||
|
|
@ -1,10 +1,10 @@
|
|||||||
FROM plugins/base:multiarch
|
FROM plugins/base:linux-arm
|
||||||
|
|
||||||
LABEL maintainer="Bo-Yi Wu <appleboy.tw@gmail.com>" \
|
LABEL maintainer="Bo-Yi Wu <appleboy.tw@gmail.com>" \
|
||||||
org.label-schema.name="Drone Telegram" \
|
org.label-schema.name="Drone telegram" \
|
||||||
org.label-schema.vendor="Bo-Yi Wu" \
|
org.label-schema.vendor="Bo-Yi Wu" \
|
||||||
org.label-schema.schema-version="1.0"
|
org.label-schema.schema-version="1.0"
|
||||||
|
|
||||||
ADD release/linux/i386/drone-telegram /bin/
|
ADD release/linux/arm/drone-telegram /bin/
|
||||||
|
|
||||||
ENTRYPOINT ["/bin/drone-telegram"]
|
ENTRYPOINT ["/bin/drone-telegram"]
|
@ -1,7 +1,7 @@
|
|||||||
FROM plugins/base:multiarch
|
FROM plugins/base:linux-arm64
|
||||||
|
|
||||||
LABEL maintainer="Bo-Yi Wu <appleboy.tw@gmail.com>" \
|
LABEL maintainer="Bo-Yi Wu <appleboy.tw@gmail.com>" \
|
||||||
org.label-schema.name="Drone Telegram" \
|
org.label-schema.name="Drone telegram" \
|
||||||
org.label-schema.vendor="Bo-Yi Wu" \
|
org.label-schema.vendor="Bo-Yi Wu" \
|
||||||
org.label-schema.schema-version="1.0"
|
org.label-schema.schema-version="1.0"
|
||||||
|
|
@ -1,9 +1,9 @@
|
|||||||
FROM microsoft/nanoserver:10.0.14393.1884
|
FROM plugins/base:windows-amd64
|
||||||
|
|
||||||
LABEL maintainer="Bo-Yi Wu <appleboy.tw@gmail.com>" \
|
LABEL maintainer="Bo-Yi Wu <appleboy.tw@gmail.com>" \
|
||||||
org.label-schema.name="Drone Telegram" \
|
org.label-schema.name="Drone telegram" \
|
||||||
org.label-schema.vendor="Bo-Yi Wu" \
|
org.label-schema.vendor="Bo-Yi Wu" \
|
||||||
org.label-schema.schema-version="1.0"
|
org.label-schema.schema-version="1.0"
|
||||||
|
|
||||||
ADD drone-telegram.exe /drone-telegram.exe
|
ADD release/drone-telegram.exe /drone-telegram.exe
|
||||||
ENTRYPOINT [ "\\drone-telegram.exe" ]
|
ENTRYPOINT [ "\\drone-telegram.exe" ]
|
Loading…
Reference in New Issue
Block a user