2020-10-15 12:19:41 +00:00
|
|
|
# The build is reproducible only if this base image stays the same.
|
2020-11-03 23:46:23 +00:00
|
|
|
FROM statusteam/nimbus_beacon_node:dist_base_20201103201341@sha256:25510b42e7573450bd0a2bbfa4c331e3345b80bee8b96a7e60621949b6154f7f
|
2020-10-15 12:19:41 +00:00
|
|
|
|
|
|
|
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.sh" "/home/user/"
|
2021-01-07 09:19:29 +00:00
|
|
|
ENTRYPOINT ["/home/user/entry_point.sh", "Linux_amd64"]
|
2020-10-15 12:19:41 +00:00
|
|
|
|