mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-11 14:54:12 +00:00
cde970c513
And a new Make target: "dist-test" - it simply runs the beacon_node binary produced by "make dist", with "--help", inside a Debian Bullseye image.
19 lines
483 B
Docker
19 lines
483 B
Docker
# The build is reproducible only if this base image stays the same.
|
|
FROM statusteam/nimbus_beacon_node:dist_base_20201103201341@sha256:25510b42e7573450bd0a2bbfa4c331e3345b80bee8b96a7e60621949b6154f7f
|
|
|
|
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"]
|
|
|