mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-22 03:30:35 +00:00
4356cbc352
* Regenerate cross-toolchain configs * Remove some extra whitespaces * Run gazelle and add that note to the README * Format numbered lists better in markdown * gcloud docker command is deprecated, just use docker * Add comment about docker credentials for gcr.io * Update dockerfile, some remote executor config work * gazelle * Remove commented lines --------- Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
36 lines
1.2 KiB
Docker
36 lines
1.2 KiB
Docker
# Prysmatic Labs Remote Build Execution Image with Cross Compile Support.
|
|
#
|
|
# See README.md for update instructions.
|
|
|
|
FROM debian:bullseye-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 python3 openjdk-17-jdk-headless
|
|
|
|
# install llvm/clang cross-build toolchains
|
|
ENV INSTALL_LLVM_VERSION=12.0.0
|
|
ADD install_clang_cross.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
|
|
|
|
ENV JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64/
|
|
|
|
RUN echo 'PS1="\[$(tput setaf 3)$(tput bold)[\]devel@\\h:\\W]#\[$(tput sgr0) \]"' >> /root/.bashrc
|