mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-22 19:40:37 +00:00
8df96426ef
* ensure build * moved third party to toplevel: Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com> Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
25 lines
682 B
Docker
25 lines
682 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 hack/interop_start.sh /launch/start.sh
|
|
|
|
ENTRYPOINT ["start.sh"]
|