Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions base-consensus-entrypoint
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
set -eu

get_public_ip() {
# Define a list of HTTP-based providers
# Define a list of HTTPS-based providers
local PROVIDERS=(
"http://ifconfig.me"
"http://api.ipify.org"
"http://ipecho.net/plain"
"http://v4.ident.me"
"https://ifconfig.me"
"https://api.ipify.org"
"https://ipecho.net/plain"
"https://v4.ident.me"
)
# Iterate through the providers until an IP is found or the list is exhausted
for provider in "${PROVIDERS[@]}"; do
Expand Down
2 changes: 1 addition & 1 deletion geth/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ FROM ubuntu:24.04

RUN apt-get update && \
apt-get install -y jq curl supervisor && \
rm -rf /var/lib/apt/lists
rm -rf /var/lib/apt/lists/*
RUN mkdir -p /var/log/supervisor

WORKDIR /app
Expand Down
10 changes: 5 additions & 5 deletions op-node-entrypoint
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
set -eu

get_public_ip() {
# Define a list of HTTP-based providers
# Define a list of HTTPS-based providers
local PROVIDERS=(
"http://ifconfig.me"
"http://api.ipify.org"
"http://ipecho.net/plain"
"http://v4.ident.me"
"https://ifconfig.me"
"https://api.ipify.org"
"https://ipecho.net/plain"
"https://v4.ident.me"
)
# Iterate through the providers until an IP is found or the list is exhausted
for provider in "${PROVIDERS[@]}"; do
Expand Down