You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
592 B

5 years ago
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 <andrey.arapov@nixaid.com>"