diff --git a/beacon-chain/Dockerfile b/beacon-chain/Dockerfile index 5452a54..4f5a5c6 100644 --- a/beacon-chain/Dockerfile +++ b/beacon-chain/Dockerfile @@ -16,7 +16,8 @@ COPY entrypoint.sh /usr/local/bin/entrypoint.sh ADD ${STAKER_SCRIPTS_URL}/consensus_tools.sh /etc/profile.d/ -RUN apt-get update && apt-get --yes install curl && apt-get clean && \ +RUN rm -rf /var/lib/apt/lists/* && \ + apt-get update && apt-get --yes install curl && apt-get clean && \ chmod +rx /usr/local/bin/entrypoint.sh /etc/profile.d/consensus_tools.sh # This env changes the variant diff --git a/validator/Dockerfile b/validator/Dockerfile index 4853603..3f231ef 100644 --- a/validator/Dockerfile +++ b/validator/Dockerfile @@ -15,7 +15,8 @@ ENV VALIDATOR_PORT=3500 \ ADD ${STAKER_SCRIPTS_URL}/consensus_tools.sh /etc/profile.d/ -RUN apt-get update && apt-get --yes install curl && apt-get clean && \ +RUN rm -rf /var/lib/apt/lists/* && \ + apt-get update && apt-get --yes install curl && apt-get clean && \ chmod +rx /usr/local/bin/entrypoint.sh /etc/profile.d/consensus_tools.sh # This env changes the variant