Skip to content

nextblu/filecoin-docker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

filecoin-docker

CircleCI

A Docker image for Lotus Filecoin nodes.

Getting Started

These instructions will cover usage information and for the docker container

Prerequisities

In order to run this container you'll need docker installed.

Usage

## Build the Docker image
make build
## Run the Docker container
make run

Verify that the container is running successfully with:

docker ps

Environment Variables

  • BRANCH - The git release, tag or branch

Volumes

  • /root/.lotus - lotus main folder

Useful File Locations

  • /scripts/entrypoint - Docker entrypoint script

Dependencies

  • ubuntu:18.04
  • golang:1.13
  • git
  • mesa-opencl-icd
  • ocl-icd-opencl-dev
  • gcc
  • bzr
  • jq
  • Lotus

Automatic build in docker hub

If you want to start automatic build in Docker Hub, you have to change variable ARG BRANCH in Dockerfile, push changes, create new tag, push tag to repo. If you want run manually from master branch, you have to start build on Docker Hub web page.

Example:

git commit -a -m "ntwk-butterfly-7.10.0" && git push && \
git tag ntwk-butterfly-7.10.0 && git push --tags

List of tag you may find in lotus perository

It works with next tags:

  • v*
  • ntwk-butterfly-*
  • ntwk-nerpa-*

New version is available in Docker Hub

Find Us

License

This project is licensed under the Apache 2.0 license.

About

A Docker image for Lotus Filecoin nodes

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Shell 46.4%
  • Dockerfile 33.5%
  • Makefile 20.1%