From 5d55368eb8c69bbe4806a0ae8e5b59bbbf4b4495 Mon Sep 17 00:00:00 2001 From: Mat Kelly Date: Thu, 21 Jul 2022 11:20:47 -0400 Subject: [PATCH] Update go-ipfs 0.13 to kubo 0.14 for #774 --- .github/workflows/test.yml | 2 +- Dockerfile | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2226b8e3..8d4e92e1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -20,9 +20,9 @@ jobs: - "3.9" - "3.10" ipfs: - - "0.11" - "0.12" - "0.13" + - "0.14" runs-on: ${{ matrix.os }} name: ${{ matrix.os }} Py-${{ matrix.python }} IPFS-${{ matrix.ipfs }} steps: diff --git a/Dockerfile b/Dockerfile index b17d7713..5008d276 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,12 +21,12 @@ RUN mkdir -p /data/{warc,cdxj,ipfs} # Download and install IPFS ENV IPFS_PATH=/data/ipfs -ARG IPFS_VERSION=v0.13.0 +ARG IPFS_VERSION=v0.14.0 RUN cd /tmp \ - && wget -q https://dist.ipfs.io/go-ipfs/${IPFS_VERSION}/go-ipfs_${IPFS_VERSION}_linux-amd64.tar.gz \ - && tar xvfz go-ipfs*.tar.gz \ - && mv go-ipfs/ipfs /usr/local/bin/ipfs \ - && rm -rf go-ipfs* \ + && wget -q https://dist.ipfs.io/kubo/${IPFS_VERSION}/kubo_${IPFS_VERSION}_linux-amd64.tar.gz \ + && tar xvfz kubo*.tar.gz \ + && mv kubo/ipfs /usr/local/bin/ipfs \ + && rm -rf kubos* \ && ipfs init # Make necessary changes to prepare the environment for IPWB