mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-01-10 12:26:02 +00:00
51bc1cf87f
* dist: precompiled binaries and Docker images The builds are reproducible, the binaries are portable and statically link librocksdb. This took some patching. Upstream PR: https://github.com/facebook/rocksdb/pull/9752 32-bit ARM is missing as a target because two different GCC versions fail with an ICE when trying to cross-compile RocksDB. Using Clang instead is too much trouble for a platform that nobody should be using anyway. (Clang doesn't come with its own target headers and libraries, can't be easily convinced to use the ones from GCC, so it needs an fs image from a 32-bit ARM distro - at which point I stopped caring). * CI: disable reproducibility test
19 lines
652 B
Docker
19 lines
652 B
Docker
# This Docker image can change from one build to another, because the upstream
|
|
# Debian/Ubuntu package index is continuously updated and we have to run
|
|
# `apt-get update` in here.
|
|
#
|
|
# The only way to make this a part of our reproducible build system is to build
|
|
# it once, upload it to Docker Hub and make sure it's being pulled regularly so
|
|
# it's not deleted after 6 months of inactivity.
|
|
|
|
FROM ubuntu:20.04
|
|
|
|
SHELL ["/bin/bash", "-c"]
|
|
|
|
ENV DEBIAN_FRONTEND=noninteractive TZ="Etc/UTC"
|
|
RUN apt-get -qq update \
|
|
&& apt-get -qq -y install build-essential git curl &>/dev/null \
|
|
&& apt-get -qq clean \
|
|
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
|
|