No description
Find a file
2019-06-02 17:46:13 +07:00
conf Ignore lbrynet binaries in the repo 2019-06-02 17:45:18 +07:00
scripts Update release scripts to support RC versions of SDK 2019-04-29 16:01:25 +07:00
.gitignore Ignore lbrynet binaries in the repo 2019-06-02 17:46:13 +07:00
Dockerfile Improve build config file and publishing script 2019-03-26 00:04:31 +07:00
Makefile Update release scripts to support RC versions of SDK 2019-04-29 16:01:25 +07:00
README.md Update release scripts to support RC versions of SDK 2019-04-29 16:01:25 +07:00
start.sh Improve build config file and publishing script 2019-03-26 00:04:31 +07:00

Dockerfile for building lbrynet image

Image usage

Put this in your docker-compose file:

version: '3.2'

services:
  daemon_test_local:
    image: lbryweb/lbrynet:latest
    ports:
      - "5279:5279"
    volumes:
      - type: bind
        source: ./storage
        target: /storage
    # or
    volumes:
      - type: volume
        source: storage
        target: /storage

Updating, building and publishing

You need to have docker toolset installed on your system, as well as the ability to execute Makefiles and bash scripts.

Using the provided Makefile

This is the preferred method because it also checks if our newly built container can actually run.

make latest_image
# or
make latest_rc_image
make publish VERSION=0.36.0

Manually

make get_release
docker build -t lbryweb/lbrynet:0.36.0 .
docker tag lbryweb/lbrynet:0.36.0 lbryweb/lbrynet:latest
docker push lbryweb/lbrynet