mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-01-12 13:24:21 +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
496 B
Docker
19 lines
496 B
Docker
# The build is reproducible only if this base image stays the same.
|
|
FROM statusteam/nimbus-eth1:dist_base_eth1_20220326074403@sha256:5c1d2e982d404c08f6bba1f0cc1a678bffae3f6cee80a679edaa0b5e985dc05d
|
|
|
|
SHELL ["/bin/bash", "-c"]
|
|
|
|
ARG USER_ID
|
|
ARG GROUP_ID
|
|
|
|
RUN addgroup --gid ${GROUP_ID} user; \
|
|
adduser --disabled-password --gecos '' --uid ${USER_ID} --gid ${GROUP_ID} user;
|
|
|
|
USER user
|
|
|
|
STOPSIGNAL SIGINT
|
|
|
|
COPY "entry_point.sh" "/home/user/"
|
|
ENTRYPOINT ["/home/user/entry_point.sh", "Linux_amd64"]
|
|
|