mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
swarm/docker: allow choosing the binary via CMD
This commit is contained in:
parent
709d49218a
commit
aba4eeeb05
2 changed files with 2 additions and 1 deletions
|
|
@ -21,6 +21,7 @@ COPY --from=builder /go/bin/swarm-smoke /
|
||||||
COPY --from=builder /go/bin/swarm-smoke-pss /
|
COPY --from=builder /go/bin/swarm-smoke-pss /
|
||||||
ADD run-smoke.sh /run-smoke.sh
|
ADD run-smoke.sh /run-smoke.sh
|
||||||
ENTRYPOINT ["/run-smoke.sh"]
|
ENTRYPOINT ["/run-smoke.sh"]
|
||||||
|
CMD [ "/swarm-smoke"]
|
||||||
|
|
||||||
FROM alpine:3.8 as swarm-global-store
|
FROM alpine:3.8 as swarm-global-store
|
||||||
WORKDIR /
|
WORKDIR /
|
||||||
|
|
|
||||||
|
|
@ -4,4 +4,4 @@ set -o errexit
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
set -o nounset
|
set -o nounset
|
||||||
|
|
||||||
/swarm-smoke $@ 2>&1 || true
|
$@ || true
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue