prysm-pulse/interop.Dockerfile
Preston Van Loon 3708a8f476 Add tool and script for interop testing (#3417)
* add tool and script for interop testing

* identity

* lint

* merge upstream, fix conflict, update script, add comment

* add comma separated support for --peer=

* remove NUM_VALIDATORS, comma fix

* WIP docker image

* use CI builder

* pr feedback

* whatever antoine says

* ignore git in docker

* jobs=auto

* disable remote cache

* try to cache the golang part

* try to cache the golang part

* nvm

* From Antoine with love

* fix
2019-09-09 17:31:19 -04:00

25 lines
685 B
Docker

FROM gcr.io/prysmaticlabs/build-agent AS builder
WORKDIR /workspace
COPY . /workspace/.
# Build binaries for minimal configuration.
RUN bazel build --define ssz=minimal --jobs=auto --remote_cache= \
//beacon-chain \
//validator \
//tools/interop/convert-keys
FROM gcr.io/whiteblock/base:ubuntu1804
COPY --from=builder /workspace/bazel-bin/beacon-chain/linux_amd64_stripped/beacon-chain .
COPY --from=builder /workspace/bazel-bin/validator/linux_amd64_pure_stripped/validator .
COPY --from=builder /workspace/bazel-bin/tools/interop/convert-keys/linux_amd64_stripped/convert-keys .
RUN mkdir /launch
COPY scripts/interop_start.sh /launch/start.sh
ENTRYPOINT ["start.sh"]