-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
load addresses from yaml, fix ssh host keygen
- Loading branch information
Showing
10 changed files
with
190 additions
and
160 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,7 @@ RUN go install cosmossdk.io/tools/cosmovisor/cmd/[email protected] | |
FROM golang:1.20.14-bookworm AS base-runtime | ||
|
||
RUN apt update && \ | ||
apt install -yq jq curl tmux python3 openssh-server iputils-ping iproute2 && \ | ||
apt install -yq jq yq curl tmux python3 openssh-server iputils-ping iproute2 && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
RUN ssh-keygen -A && \ | ||
|
@@ -45,13 +45,15 @@ ENV PATH /root/.zetacored/cosmovisor/current/bin/:/root/.zetaclientd/upgrades/cu | |
|
||
COPY contrib/localnet/scripts /root | ||
COPY contrib/localnet/preparams /root/preparams | ||
COPY contrib/localnet/ssh_config /root/.ssh/config | ||
COPY contrib/localnet/ssh_config /etc/ssh/ssh_config.d/localnet | ||
COPY contrib/localnet/zetacored /root/zetacored | ||
COPY contrib/localnet/tss /root/tss | ||
COPY cmd/zetae2e/config/localnet.yml /root/config.yml | ||
|
||
RUN chmod 755 /root/*.sh | ||
RUN chmod 755 /root/*.sh && \ | ||
chmod 744 /etc/ssh/ssh_config.d/localnet | ||
|
||
WORKDIR /usr/local/bin | ||
WORKDIR /root | ||
EXPOSE 22 | ||
|
||
FROM base-runtime AS latest-runtime | ||
|
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
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 |
---|---|---|
@@ -1,16 +1,18 @@ | ||
FROM zetanode:latest as zeta | ||
FROM ethereum/client-go:v1.10.26 as geth | ||
FROM golang:1.20.14-bookworm as orchestrator | ||
FROM golang:1.20.14-bookworm as orchestrator | ||
|
||
RUN apt update && \ | ||
apt install -yq jq curl tmux python3 openssh-server iputils-ping iproute2 && \ | ||
apt install -yq jq yq curl tmux python3 openssh-server iputils-ping iproute2 && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
COPY --from=geth /usr/local/bin/geth /usr/local/bin/ | ||
COPY --from=zeta /usr/local/bin/zetacored /usr/local/bin/zetaclientd /usr/local/bin/zetae2e /usr/local/bin/ | ||
|
||
COPY contrib/localnet/orchestrator/start-zetae2e.sh /work/ | ||
COPY cmd/zetae2e/config/localnet.yml /work/config.yml | ||
RUN chmod +x /work/*.sh | ||
COPY contrib/localnet/ssh_config /etc/ssh/ssh_config.d/localnet | ||
RUN chmod +x /work/*.sh && \ | ||
chmod 744 /etc/ssh/ssh_config.d/localnet | ||
|
||
WORKDIR /work |
Oops, something went wrong.