Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -200,9 +200,9 @@ docsgen-openrpc-boost: docsgen-openrpc-bin

## DOCKER IMAGES
docker_user?=filecoin
lotus_version?=1.17.1-rc2
lotus_version?=1.17.2-rc2
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not sure why this image has not been published by the filecoinhelper -- for now we have to build it manually locally.

lotus_src_dir?=

ifeq ($(lotus_src_dir),)
lotus_src_dir=/tmp/lotus-$(lotus_version)
lotus_checkout_dir=$(lotus_src_dir)
Expand All @@ -217,7 +217,7 @@ docker_build_cmd=docker build --build-arg LOTUS_TEST_IMAGE=$(lotus_test_image) $
info/lotus-test:
@echo Lotus dir = $(lotus_src_dir)
@echo Lotus ver = $(lotus_version)
.PHONY: info/lotus-test
.PHONY: info/lotus-test
$(lotus_checkout_dir):
git clone --depth 1 --branch v$(lotus_version) https://github.com/filecoin-project/lotus $@
docker/lotus-test: info/lotus-test | $(lotus_checkout_dir)
Expand All @@ -234,9 +234,13 @@ docker/boost: build/.update-modules
-t $(docker_user)/boost-dev:dev --build-arg BUILD_VERSION=dev \
-f docker/devnet/boost/Dockerfile.source .
.PHONY: docker/boost
docker/booster-http:
docker/booster-http:
$(docker_build_cmd) -t $(docker_user)/booster-http-dev:dev --build-arg BUILD_VERSION=dev \
-f docker/devnet/booster-http/Dockerfile.source .
.PHONY: docker/booster-http
docker/booster-bitswap:
$(docker_build_cmd) -t $(docker_user)/booster-bitswap-dev:dev --build-arg BUILD_VERSION=dev \
-f docker/devnet/booster-bitswap/Dockerfile.source .
.PHONY: docker/booster-bitswap
docker/all: docker/lotus-test docker/boost docker/booster-http docker/lotus docker/lotus-miner
.PHONY: docker/all