mirror of
https://github.com/drone/drone-cli.git
synced 2024-05-11 10:06:02 +02:00
use COPY instead of ADD
This commit is contained in:
parent
a7e4c4147b
commit
fba0375e96
|
@ -1,5 +1,5 @@
|
||||||
FROM drone/ca-certs
|
FROM drone/ca-certs
|
||||||
|
|
||||||
ADD release/linux/amd64/drone /bin/
|
COPY release/linux/amd64/drone /bin/
|
||||||
|
|
||||||
ENTRYPOINT ["/bin/drone"]
|
ENTRYPOINT ["/bin/drone"]
|
||||||
|
|
|
@ -2,6 +2,6 @@ FROM alpine:3.7
|
||||||
|
|
||||||
RUN apk add -U --no-cache ca-certificates
|
RUN apk add -U --no-cache ca-certificates
|
||||||
|
|
||||||
ADD release/linux/amd64/drone /bin/
|
COPY release/linux/amd64/drone /bin/
|
||||||
|
|
||||||
ENTRYPOINT ["/bin/drone"]
|
ENTRYPOINT ["/bin/drone"]
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
FROM drone/ca-certs
|
FROM drone/ca-certs
|
||||||
|
|
||||||
ADD release/linux/arm/drone /bin/
|
COPY release/linux/arm/drone /bin/
|
||||||
|
|
||||||
ENTRYPOINT ["/bin/drone"]
|
ENTRYPOINT ["/bin/drone"]
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
FROM drone/ca-certs
|
FROM drone/ca-certs
|
||||||
|
|
||||||
ADD release/linux/arm64/drone /bin/
|
COPY release/linux/arm64/drone /bin/
|
||||||
|
|
||||||
ENTRYPOINT ["/bin/drone"]
|
ENTRYPOINT ["/bin/drone"]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue