mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-22 20:42:13 +00:00
Provide a backwards-compatible sym link in the nimbus-eth2 docker file image
This is needed because commit 0be57eec6e59a0198eccf256ec64011ee461b62f changed the location of the nimbus_beacon_node executable within the container file system. For users, not relying on the official entrypoint this was a breaking change.
This commit is contained in:
parent
5025990d9e
commit
f6a5a5b1da
5
docker/dist/binaries/Dockerfile.bn.amd64
vendored
5
docker/dist/binaries/Dockerfile.bn.amd64
vendored
@ -11,5 +11,10 @@ USER user
|
||||
STOPSIGNAL SIGINT
|
||||
|
||||
COPY "nimbus-eth2/build/nimbus_beacon_node" "/home/user/nimbus_beacon_node"
|
||||
|
||||
RUN mkdir -p /home/user/nimbus-eth2/build && \
|
||||
ln -s /home/user/nimbus_beacon_node /home/user/nimbus-eth2/build/nimbus_beacon_node && \
|
||||
chown -R user:user /home/user/nimbus-eth2/build
|
||||
|
||||
WORKDIR "/home/user/"
|
||||
ENTRYPOINT ["/home/user/nimbus_beacon_node"]
|
||||
|
5
docker/dist/binaries/Dockerfile.bn.arm
vendored
5
docker/dist/binaries/Dockerfile.bn.arm
vendored
@ -15,5 +15,10 @@ USER user
|
||||
STOPSIGNAL SIGINT
|
||||
|
||||
COPY "nimbus-eth2/build/nimbus_beacon_node" "/home/user/nimbus_beacon_node"
|
||||
|
||||
RUN mkdir -p /home/user/nimbus-eth2/build && \
|
||||
ln -s /home/user/nimbus_beacon_node /home/user/nimbus-eth2/build/nimbus_beacon_node && \
|
||||
chown -R user:user /home/user/nimbus-eth2/build
|
||||
|
||||
WORKDIR "/home/user/"
|
||||
ENTRYPOINT ["/home/user/nimbus_beacon_node"]
|
||||
|
5
docker/dist/binaries/Dockerfile.bn.arm64
vendored
5
docker/dist/binaries/Dockerfile.bn.arm64
vendored
@ -15,5 +15,10 @@ USER user
|
||||
STOPSIGNAL SIGINT
|
||||
|
||||
COPY "nimbus-eth2/build/nimbus_beacon_node" "/home/user/nimbus_beacon_node"
|
||||
|
||||
RUN mkdir -p /home/user/nimbus-eth2/build && \
|
||||
ln -s /home/user/nimbus_beacon_node /home/user/nimbus-eth2/build/nimbus_beacon_node && \
|
||||
chown -R user:user /home/user/nimbus-eth2/build
|
||||
|
||||
WORKDIR "/home/user/"
|
||||
ENTRYPOINT ["/home/user/nimbus_beacon_node"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user