Add ipfs-adapter builtin (#4)

This commit is contained in:
folex 2021-07-01 23:05:56 +03:00 committed by GitHub
parent d3545afa0d
commit ad6b864555
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 18 additions and 13 deletions

View File

@ -4,6 +4,9 @@ on:
push: push:
branches: branches:
- main - main
- ipfs-adapter
workflow_dispatch:
jobs: jobs:
build: build:

View File

@ -3,7 +3,7 @@
FROM ipfs/go-ipfs:v0.9.0 as ipfs FROM ipfs/go-ipfs:v0.9.0 as ipfs
FROM fluencelabs/fluence:vault as fluence FROM fluencelabs/fluence:latest as fluence
FROM ghcr.io/linuxserver/baseimage-ubuntu:bionic FROM ghcr.io/linuxserver/baseimage-ubuntu:bionic
@ -40,7 +40,9 @@ RUN \
rm -rf \ rm -rf \
/tmp/* \ /tmp/* \
/var/lib/apt/lists/* \ /var/lib/apt/lists/* \
/var/tmp/* /var/tmp/* && \
echo "**** download ipfs-adapter ****" && \
curl https://github.com/fluencelabs/ipfs-adapter/releases/latest/download/ipfs-adapter.tar.gz -L | tar -zxv -C /builtins/
# copy configs # copy configs
# NOTE: copy configs should be after installing packages because # NOTE: copy configs should be after installing packages because