2024-11-29 16:57:11 +00:00
|
|
|
FROM --platform=arm64v8 debian:bullseye-slim
|
2022-12-19 16:49:25 +00:00
|
|
|
|
|
|
|
SHELL ["/bin/bash", "-c"]
|
|
|
|
|
|
|
|
# We need the host's registered binfmt_misc "interpreter" inside the container,
|
|
|
|
# for that transparent virtualisation to work.
|
|
|
|
COPY "qemu-aarch64-static" "/usr/bin/"
|
|
|
|
|
|
|
|
# Likely to match the first regular user:group created on the host.
|
|
|
|
RUN addgroup --gid 1000 user; \
|
|
|
|
adduser --disabled-password --gecos '' --uid 1000 --gid 1000 user;
|
|
|
|
|
|
|
|
USER user
|
|
|
|
|
|
|
|
STOPSIGNAL SIGINT
|
|
|
|
|
|
|
|
COPY "nimbus-eth2/build/nimbus_validator_client" "/home/user/nimbus_validator_client"
|
|
|
|
WORKDIR "/home/user/"
|
|
|
|
ENTRYPOINT ["/home/user/nimbus_validator_client"]
|
|
|
|
|