From 7f8bd6ba04bd86ec954c8fd0e956ce835165672f Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Sat, 23 Nov 2019 21:51:46 +0800 Subject: [PATCH] chore: replace ADD with COPY --- docker/Dockerfile.linux.amd64 | 2 +- docker/Dockerfile.linux.arm | 2 +- docker/Dockerfile.linux.arm64 | 2 +- docker/Dockerfile.windows.amd64 | 3 ++- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/docker/Dockerfile.linux.amd64 b/docker/Dockerfile.linux.amd64 index 7f08541..d8650dc 100644 --- a/docker/Dockerfile.linux.amd64 +++ b/docker/Dockerfile.linux.amd64 @@ -5,6 +5,6 @@ LABEL maintainer="Bo-Yi Wu " \ org.label-schema.vendor="Bo-Yi Wu" \ org.label-schema.schema-version="1.0" -ADD release/linux/amd64/drone-telegram /bin/ +COPY release/linux/amd64/drone-telegram /bin/ ENTRYPOINT ["/bin/drone-telegram"] diff --git a/docker/Dockerfile.linux.arm b/docker/Dockerfile.linux.arm index ce0d095..00f48e2 100644 --- a/docker/Dockerfile.linux.arm +++ b/docker/Dockerfile.linux.arm @@ -5,6 +5,6 @@ LABEL maintainer="Bo-Yi Wu " \ org.label-schema.vendor="Bo-Yi Wu" \ org.label-schema.schema-version="1.0" -ADD release/linux/arm/drone-telegram /bin/ +COPY release/linux/arm/drone-telegram /bin/ ENTRYPOINT ["/bin/drone-telegram"] diff --git a/docker/Dockerfile.linux.arm64 b/docker/Dockerfile.linux.arm64 index e9441b3..db4c644 100644 --- a/docker/Dockerfile.linux.arm64 +++ b/docker/Dockerfile.linux.arm64 @@ -5,6 +5,6 @@ LABEL maintainer="Bo-Yi Wu " \ org.label-schema.vendor="Bo-Yi Wu" \ org.label-schema.schema-version="1.0" -ADD release/linux/arm64/drone-telegram /bin/ +COPY release/linux/arm64/drone-telegram /bin/ ENTRYPOINT ["/bin/drone-telegram"] diff --git a/docker/Dockerfile.windows.amd64 b/docker/Dockerfile.windows.amd64 index 4ed7b18..d2a63fa 100644 --- a/docker/Dockerfile.windows.amd64 +++ b/docker/Dockerfile.windows.amd64 @@ -5,5 +5,6 @@ LABEL maintainer="Bo-Yi Wu " \ org.label-schema.vendor="Bo-Yi Wu" \ org.label-schema.schema-version="1.0" -ADD release/drone-telegram.exe /drone-telegram.exe +COPY release/drone-telegram.exe /drone-telegram.exe + ENTRYPOINT [ "\\drone-telegram.exe" ]