Skip to content

Instantly share code, notes, and snippets.

@zscole
Last active May 10, 2019 02:40
Show Gist options
  • Select an option

  • Save zscole/28b285053e43722cb611f51982304e56 to your computer and use it in GitHub Desktop.

Select an option

Save zscole/28b285053e43722cb611f51982304e56 to your computer and use it in GitHub Desktop.
FROM ubuntu:18.04
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update &&\
apt-get install -y apt-utils expect git git-extras software-properties-common \
inetutils-tools wget ca-certificates curl build-essential libssl-dev golang-go \
pkg-config zip g++ zlib1g-dev unzip python
RUN wget https://github.com/bazelbuild/bazel/releases/download/0.25.1/bazel-0.25.1-installer-linux-x86_64.sh
RUN chmod +x bazel-0.25.1-installer-linux-x86_64.sh
RUN ./bazel-0.25.1-installer-linux-x86_64.sh
RUN git clone https://github.com/prysmaticlabs/prysm.git
WORKDIR /prysm/
RUN bazel build //beacon-chain:beacon-chain
RUN bazel build //validator:validator
WORKDIR /
ENTRYPOINT ["/bin/bash"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment