mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-05-02 03:02:54 -04:00
* Check in go-ethereum crypto/sepc256k1 package with proper build rules
* gaz
* Add karalabe/usb
* viz improvement
* Remove bazel-go-ethereum, use vendored libraries only
* move vendor stuff to third_party so that go mod wont be mad anymore
* fix geth e2e flags
* fix geth e2e flags
* remove old rules_foreign_cc toolchain
* Update cross compile docker image to support os x
* works for geth build
* remove copy of sepc256k1
* revert changes in tools/cross-toolchain
* gaz
* Update go-ethereum to 1.10.10
* Revert "revert changes in tools/cross-toolchain"
This reverts commit 2e8128f7c3.
* revert tags changes
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
44 lines
1.5 KiB
Docker
44 lines
1.5 KiB
Docker
# Prysmatic Labs Remote Build Execution Image with Cross Compile Support.
|
|
#
|
|
# Update instructions.
|
|
# - Build the docker image.
|
|
# - Push to gcr.io.
|
|
# - Update _PRYSM_BUILD_IMAGE_DIGEST in //tools/cross-toolchain/rbe_toolchains_config.bzl
|
|
# - Run ./tools/cross-toolchain/regenerate.sh
|
|
# - Add and commit the newly generated configs.
|
|
# - Done!
|
|
#
|
|
# docker build -t gcr.io/prysmaticlabs/rbe-worker:latest .
|
|
# gcloud docker -- push gcr.io/prysmaticlabs/rbe-worker:latest
|
|
|
|
FROM debian:buster-slim as build
|
|
|
|
# install gnu/gcc cross-build toolchain (gcc 8.3)
|
|
ENV DOCKER_CLI_EXPERIMENTAL=enabled
|
|
RUN apt-get update && \
|
|
apt-get install -y \
|
|
curl xz-utils \
|
|
gcc g++ mingw-w64 \
|
|
gcc-aarch64-linux-gnu g++-aarch64-linux-gnu \
|
|
cmake libssl-dev libxml2-dev vim apt-transport-https \
|
|
zip unzip libtinfo5 patch zlib1g-dev autoconf libtool \
|
|
pkg-config make docker.io gnupg2 libgmp-dev python
|
|
|
|
# install llvm/clang cross-build toolchains
|
|
ENV INSTALL_LLVM_VERSION=10.0.0
|
|
ADD install_clang_cross10.sh /tmp/install_clang_cross.sh
|
|
RUN /tmp/install_clang_cross.sh
|
|
|
|
# install osxcross
|
|
ADD install_osxcross.sh /tmp/install_osxcross.sh
|
|
ADD common_osxcross.sh /tmp/common_osxcross.sh
|
|
RUN /tmp/install_osxcross.sh
|
|
ADD link_osxcross.sh /tmp/link_osxcross.sh
|
|
RUN /tmp/link_osxcross.sh
|
|
|
|
# containerized development environment
|
|
FROM build as devel
|
|
RUN mkdir /workdir
|
|
WORKDIR /workdir
|
|
RUN echo 'PS1="\[$(tput setaf 3)$(tput bold)[\]devel@\\h:\\W]#\[$(tput sgr0) \]"' >> /root/.bashrc
|