nimbus-eth1/docker/dist
Ștefan Talpalaru 51bc1cf87f
dist: precompiled binaries and Docker images (#1015)
* 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
2022-03-27 13:21:15 +02:00
..
base_image dist: precompiled binaries and Docker images (#1015) 2022-03-27 13:21:15 +02:00
binaries dist: precompiled binaries and Docker images (#1015) 2022-03-27 13:21:15 +02:00
0001-Makefile-support-Mingw-more-cross-compilation.patch dist: precompiled binaries and Docker images (#1015) 2022-03-27 13:21:15 +02:00
Dockerfile.amd64 dist: precompiled binaries and Docker images (#1015) 2022-03-27 13:21:15 +02:00
Dockerfile.arm dist: precompiled binaries and Docker images (#1015) 2022-03-27 13:21:15 +02:00
Dockerfile.arm64 dist: precompiled binaries and Docker images (#1015) 2022-03-27 13:21:15 +02:00
Dockerfile.macos dist: precompiled binaries and Docker images (#1015) 2022-03-27 13:21:15 +02:00
Dockerfile.macos-arm64 dist: precompiled binaries and Docker images (#1015) 2022-03-27 13:21:15 +02:00
Dockerfile.win64 dist: precompiled binaries and Docker images (#1015) 2022-03-27 13:21:15 +02:00
README-Windows.md.tpl dist: precompiled binaries and Docker images (#1015) 2022-03-27 13:21:15 +02:00
README.md.tpl dist: precompiled binaries and Docker images (#1015) 2022-03-27 13:21:15 +02:00
entry_point.sh dist: precompiled binaries and Docker images (#1015) 2022-03-27 13:21:15 +02:00
rocksdb-7.0.2-arm.patch dist: precompiled binaries and Docker images (#1015) 2022-03-27 13:21:15 +02:00

README.md.tpl

# Binary Nimbus distribution

This binary distribution of the Nimbus eth1 package is compiled
in a [reproducible way](https://reproducible-builds.org/) from source files
hosted at https://github.com/status-im/nimbus-eth1.

The tarball containing this README uses the following naming scheme:

```bash
nimbus-eth1_<TARGET OS>_<TARGET CPU>_<VERSION>_<GIT COMMIT>.tar.gz
```

## Reproducing the build

Besides the generic build requirements, you also need [Docker](https://www.docker.com/).

```bash
git clone https://github.com/status-im/nimbus-eth1.git
cd nimbus-eth1
git checkout GIT_COMMIT
make update
make dist
```

## Significant differences from self-built binaries

No `-march=native`.