Provide a backwards-compatible sym link in the nimbus-eth2 docker file image
This is needed because commit 0be57eec6e
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
|
@ -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"]
|
||||
|
|
|
@ -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"]
|
||||
|
|
|
@ -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…
Reference in New Issue