mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-09 05:52:45 +00:00
d07d7b1c48
Create stable link (withouth hash) so that scripts can always get the latest nightly build from the same url
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"]
|
|
|