2021-01-07 09:19:29 +00:00
|
|
|
# The build is reproducible only if this base image stays the same.
|
2021-03-10 02:59:19 +00:00
|
|
|
FROM statusteam/nimbus_beacon_node:dist_base_20210310012752_arm_v2@sha256:65919842dc7e17386399ae12b175e9996f5ef038ad6e228000392a1ff6465082
|
2021-01-07 09:19:29 +00:00
|
|
|
|
|
|
|
SHELL ["/bin/bash", "-c"]
|
|
|
|
|
|
|
|
ARG USER_ID
|
|
|
|
ARG GROUP_ID
|
|
|
|
|
2022-08-11 14:57:44 +00:00
|
|
|
ENV BUILD_TOOLS=${BUILD_TOOLS}
|
|
|
|
|
2021-01-07 09:19:29 +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", "Linux_arm32v7"]
|
|
|
|
|