diff --git a/base-consensus-entrypoint b/base-consensus-entrypoint index cd2801fce..ef96ac8d9 100755 --- a/base-consensus-entrypoint +++ b/base-consensus-entrypoint @@ -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 diff --git a/geth/Dockerfile b/geth/Dockerfile index c32881405..5ecaa0136 100644 --- a/geth/Dockerfile +++ b/geth/Dockerfile @@ -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 diff --git a/op-node-entrypoint b/op-node-entrypoint index 893015882..0cbadc544 100755 --- a/op-node-entrypoint +++ b/op-node-entrypoint @@ -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