-
Notifications
You must be signed in to change notification settings - Fork 239
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Publish official docker images for the Nimbus validator client (#4439)
Fixes #4426
- Loading branch information
Showing
4 changed files
with
71 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
FROM debian:bullseye-slim | ||
|
||
SHELL ["/bin/bash", "-c"] | ||
|
||
# Likely to match the first regular user:group created on the host. | ||
RUN addgroup --gid 1000 user; \ | ||
adduser --disabled-password --gecos '' --uid 1000 --gid 1000 user; | ||
|
||
USER user | ||
|
||
STOPSIGNAL SIGINT | ||
|
||
COPY "nimbus-eth2/build/nimbus_validator_client" "/home/user/nimbus_validator_client" | ||
WORKDIR "/home/user/" | ||
ENTRYPOINT ["/home/user/nimbus_validator_client"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
FROM arm32v7/debian:bullseye-slim | ||
|
||
SHELL ["/bin/bash", "-c"] | ||
|
||
# We need the host's registered binfmt_misc "interpreter" inside the container, | ||
# for that transparent virtualisation to work. | ||
COPY "qemu-arm-static" "/usr/bin/" | ||
|
||
# Likely to match the first regular user:group created on the host. | ||
RUN addgroup --gid 1000 user; \ | ||
adduser --disabled-password --gecos '' --uid 1000 --gid 1000 user; | ||
|
||
USER user | ||
|
||
STOPSIGNAL SIGINT | ||
|
||
COPY "nimbus-eth2/build/nimbus_validator_client" "/home/user/nimbus_validator_client" | ||
WORKDIR "/home/user/" | ||
ENTRYPOINT ["/home/user/nimbus_validator_client"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
FROM arm64v8/debian:bullseye-slim | ||
|
||
SHELL ["/bin/bash", "-c"] | ||
|
||
# We need the host's registered binfmt_misc "interpreter" inside the container, | ||
# for that transparent virtualisation to work. | ||
COPY "qemu-aarch64-static" "/usr/bin/" | ||
|
||
# Likely to match the first regular user:group created on the host. | ||
RUN addgroup --gid 1000 user; \ | ||
adduser --disabled-password --gecos '' --uid 1000 --gid 1000 user; | ||
|
||
USER user | ||
|
||
STOPSIGNAL SIGINT | ||
|
||
COPY "nimbus-eth2/build/nimbus_validator_client" "/home/user/nimbus_validator_client" | ||
WORKDIR "/home/user/" | ||
ENTRYPOINT ["/home/user/nimbus_validator_client"] | ||
|