Skip to content

Commit 8642aee

Browse files
authored
Merge pull request #54 from dappnode/copilot/fix-docker-arm64-build-issues
fix: clear stale apt lists before apt-get update to fix ARM64 build
2 parents cb919be + cc88925 commit 8642aee

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

‎beacon-chain/Dockerfile‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ COPY entrypoint.sh /usr/local/bin/entrypoint.sh
1616

1717
ADD ${STAKER_SCRIPTS_URL}/consensus_tools.sh /etc/profile.d/
1818

19-
RUN apt-get update && apt-get --yes install curl && apt-get clean && \
19+
RUN rm -rf /var/lib/apt/lists/* && \
20+
apt-get update && apt-get --yes install curl && apt-get clean && \
2021
chmod +rx /usr/local/bin/entrypoint.sh /etc/profile.d/consensus_tools.sh
2122

2223
# This env changes the variant

‎validator/Dockerfile‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ ENV VALIDATOR_PORT=3500 \
1515

1616
ADD ${STAKER_SCRIPTS_URL}/consensus_tools.sh /etc/profile.d/
1717

18-
RUN apt-get update && apt-get --yes install curl && apt-get clean && \
18+
RUN rm -rf /var/lib/apt/lists/* && \
19+
apt-get update && apt-get --yes install curl && apt-get clean && \
1920
chmod +rx /usr/local/bin/entrypoint.sh /etc/profile.d/consensus_tools.sh
2021

2122
# This env changes the variant

0 commit comments

Comments
 (0)