21 lines
541 B
Docker
21 lines
541 B
Docker
# The build is reproducible only if this base image stays the same.
|
|
FROM statusteam/nimbus_beacon_node:dist_base_20220327205458_win64_v2@sha256:a5bda8cbef9973c2feb94003d6812004bb9f6dfd6b0b817d85dfa1118034273a
|
|
|
|
SHELL ["/bin/bash", "-c"]
|
|
|
|
ARG USER_ID
|
|
ARG GROUP_ID
|
|
|
|
ENV BUILD_TOOLS=${BUILD_TOOLS}
|
|
|
|
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"]
|
|
|