forked from Gravity-Bridge/Gravity-Bridge
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'e2e-testings' of https://github.com/oraichain/Gravity-B…
…ridge into e2e-testings
- Loading branch information
Showing
5 changed files
with
49 additions
and
8 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,10 @@ | ||
FROM oraichain/foundation-oraibridge-module:0.0.1 as builder | ||
RUN upx --best --lzma /workspace/build/gravity | ||
|
||
FROM alpine:3.16 | ||
WORKDIR /workspace | ||
RUN apk update | ||
# need to install build-base to run go oraid binary | ||
RUN apk add nano bash build-base jq | ||
COPY --from=builder /workspace/build/gravity /usr/bin | ||
CMD [ "gravity version" ] |
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
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,10 @@ | ||
#!/bin/bash | ||
|
||
GRAVITY_HOME=${1:-data} | ||
NODE_ID=${2-a079edb265cbde6f8eeecd6f22a57dfdf3ab7b34} | ||
|
||
rm -rf $GRAVITY_HOME | ||
|
||
cp -r "$GRAVITY_HOME-before-upgrade" $GRAVITY_HOME | ||
|
||
gravity start --home $GRAVITY_HOME --p2p.persistent_peers $NODE_ID@0.0.0.0:26656 |