1
0
Fork 0
mirror of https://github.com/drone/drone-cli.git synced 2024-03-28 09:50:09 +01:00

use COPY instead of ADD

This commit is contained in:
Tony Li 2018-02-20 14:16:06 -05:00
parent a7e4c4147b
commit fba0375e96
No known key found for this signature in database
GPG Key ID: E73DA11CDB50D072
4 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
FROM drone/ca-certs
ADD release/linux/amd64/drone /bin/
COPY release/linux/amd64/drone /bin/
ENTRYPOINT ["/bin/drone"]

View File

@ -2,6 +2,6 @@ FROM alpine:3.7
RUN apk add -U --no-cache ca-certificates
ADD release/linux/amd64/drone /bin/
COPY release/linux/amd64/drone /bin/
ENTRYPOINT ["/bin/drone"]

View File

@ -1,5 +1,5 @@
FROM drone/ca-certs
ADD release/linux/arm/drone /bin/
COPY release/linux/arm/drone /bin/
ENTRYPOINT ["/bin/drone"]

View File

@ -1,6 +1,6 @@
FROM drone/ca-certs
ADD release/linux/arm64/drone /bin/
COPY release/linux/arm64/drone /bin/
ENTRYPOINT ["/bin/drone"]