nimbus-eth2/docker/dist/binaries/Dockerfile.bn.amd64

16 lines
396 B
Docker
Raw Normal View History

FROM debian:bullseye-slim
SHELL ["/bin/bash", "-c"]
# 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_beacon_node" "/home/user/nimbus_beacon_node"
WORKDIR "/home/user/"
ENTRYPOINT ["/home/user/nimbus_beacon_node"]