forked from prysmaticlabs/prysm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
interop.Dockerfile
24 lines (15 loc) · 685 Bytes
/
interop.Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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"]