mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-09 13:56:23 +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.
18 lines
319 B
Docker
18 lines
319 B
Docker
FROM debian:bullseye-slim
|
|
|
|
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_test.sh" "/home/user/"
|
|
ENTRYPOINT ["/home/user/entry_point_test.sh"]
|
|
|