No description
Find a file
2019-01-29 19:03:23 +07:00
conf Update build process 2019-01-29 18:22:50 +07:00
scripts Add scripts for automating image builds 2019-01-29 19:01:05 +07:00
Dockerfile Update build process 2019-01-29 18:22:50 +07:00
Makefile Add scripts for automating image builds 2019-01-29 19:01:05 +07:00
README.md Fix versions in readme 2019-01-29 19:03:23 +07:00
start.sh Add scripts for automating image builds 2019-01-29 19:01:05 +07:00

Dockerfile for building lbrynet image

Image usage

Put this in your docker-compose file:

version: '3.2'

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

Updating, building and publishing

Using the provided Makefile

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

make get_release
VERSION=0.30.5 make build
VERSION=0.30.5 make publish

Manually

make get_release
docker build -t sayplastic/lbrynet:0.30.5 .
docker tag sayplastic/lbrynet:0.30.5 sayplastic/lbrynet:latest
docker push sayplastic/lbrynet