FROM ubuntu:bionic # https://dist.ipfs.io/go-ipfs/v0.4.18/go-ipfs_v0.4.18_linux-amd64.tar.gz COPY sha512sum.txt . RUN apt-get -qq update && \ DEBIAN_FRONTEND=noninteractive apt-get -qqy install wget gosu RUN wget -q -O go-ipfs.tar.gz https://files.nixaid.com/go-ipfs_v0.4.18_linux-amd64.tar.gz && \ sha512sum -c sha512sum.txt && \ tar xf go-ipfs.tar.gz -C /opt && \ rm go-ipfs.tar.gz RUN find /opt/ -type f -name "ipfs" -exec ln -sv '{}' /usr/local/bin/ \; COPY ./launch /launch ENTRYPOINT [ "/bin/sh", "/launch" ] LABEL maintainer="Andrey Arapov "