mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-03 16:37:39 +00:00
93c11e0e53
* Update rules_go * go 1.15 * try with v0.24.2 * Update Mac OS X SDK * gaz * update SDK in toolchain config * -I flag * another -I flag * Update rules_go, gazelle, bazel version * regen, update rules_docker * Revert "another -I flag" This reverts commit 9255133d99bee1e94560a64316a4a7539a363935. * Revert "-I flag" This reverts commit 2954a41d76adc81ccb6281af243f4be1f79152e9. * giving up * Use OS X 10.12 * Use OS X 10.12 * Revert "Use OS X 10.12" This reverts commit 4f60d5cb807b2ccccd484a85a6a7477a5fd13e28. * Revert "Use OS X 10.12" This reverts commit a79177fab7182ad792d1cee7fb61214ef8bd73ab. * osx toolchain tweaks necessary to work with 10.15 mac sdk * Update docker image, regen * gaz * test using custom image * Revert "test using custom image" This reverts commit 95b8666810a254f16061c99e2ea0ae4d020b2f2d. * explicit go version * Clean up docker image rules with new definitions. gazelle * please the linter * Update protobuf compiler to 3.13.0, run gazelle * Update gazelle to fix empty build files. https://github.com/bazelbuild/bazel-gazelle/pull/926 * update skylib * fix herumi fuzz build * remove comment from tools/cross-toolchain/regenerate.sh Co-authored-by: rkapka <rkapka@wp.pl> Co-authored-by: SuburbanDad <gts.mobile@gmail.com> Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
41 lines
1.4 KiB
Docker
41 lines
1.4 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 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
|
|
RUN /tmp/install_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
|