From cbf8a4bfa97a603f8f0974b697890c0a9f9e3ace Mon Sep 17 00:00:00 2001 From: Mat Kelly Date: Wed, 26 Jun 2024 14:14:57 -0400 Subject: [PATCH] Pull arch-specific version of kubo in Dockerfile Closes #835 --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 47a9d6d4..9c0f9cd0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,8 +22,9 @@ RUN mkdir -p /data/{warc,cdxj,ipfs} # Download and install IPFS ENV IPFS_PATH=/data/ipfs ARG IPFS_VERSION=v0.29.0 +ARG BUILDARCH RUN cd /tmp \ - && wget -q https://dist.ipfs.io/kubo/${IPFS_VERSION}/kubo_${IPFS_VERSION}_linux-amd64.tar.gz \ + && wget -q https://dist.ipfs.io/kubo/${IPFS_VERSION}/kubo_${IPFS_VERSION}_linux-$BUILDARCH.tar.gz \ && tar xvfz kubo*.tar.gz \ && mv kubo/ipfs /usr/local/bin/ipfs \ && rm -rf kubo* \