2021-02-02 22:31:01 +00:00
|
|
|
# The build is reproducible only if this base image stays the same.
|
2022-03-28 08:03:11 +00:00
|
|
|
FROM statusteam/nimbus_beacon_node:dist_base_20220327205458_win64_v2@sha256:a5bda8cbef9973c2feb94003d6812004bb9f6dfd6b0b817d85dfa1118034273a
|
2021-02-02 22:31:01 +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-02-02 22:31:01 +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", "Windows_amd64"]
|
|
|
|
|