nimbus-eth2/docker/dist/Dockerfile.macos

21 lines
536 B
Docker
Raw Permalink Normal View History

2021-05-19 06:38:13 +00:00
# The build is reproducible only if this base image stays the same.
FROM statusteam/nimbus_beacon_node:dist_base_20210513160553_macos@sha256:eef4aff594307c0ff615160aa7184b3660648ce929bb670a409428fc32bd04ed
SHELL ["/bin/bash", "-c"]
ARG USER_ID
ARG GROUP_ID
ENV BUILD_TOOLS=${BUILD_TOOLS}
2021-05-19 06:38:13 +00:00
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", "macOS_amd64"]