refactor: docker

This commit is contained in:
Bo-Yi Wu 2019-02-17 00:02:11 +08:00
parent 989fa33240
commit e8f060bafa
6 changed files with 10 additions and 33 deletions

View File

@ -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"]

View File

@ -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"]

View File

@ -1,7 +1,7 @@
FROM plugins/base:multiarch
FROM plugins/base:linux-amd64
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.schema-version="1.0"

View File

@ -1,10 +1,10 @@
FROM plugins/base:multiarch
FROM plugins/base:linux-arm
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.schema-version="1.0"
ADD release/linux/i386/drone-telegram /bin/
ADD release/linux/arm/drone-telegram /bin/
ENTRYPOINT ["/bin/drone-telegram"]

View File

@ -1,7 +1,7 @@
FROM plugins/base:multiarch
FROM plugins/base:linux-arm64
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.schema-version="1.0"

View File

@ -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>" \
org.label-schema.name="Drone Telegram" \
org.label-schema.name="Drone telegram" \
org.label-schema.vendor="Bo-Yi Wu" \
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" ]