2020-11-06 20:02:06 +00:00
|
|
|
SHELL = /bin/bash
|
|
|
|
|
|
|
|
.DEFAULT_GOAL := download-proofs
|
|
|
|
|
|
|
|
download-proofs:
|
|
|
|
go run github.com/filecoin-project/go-paramfetch/paramfetch 2048 ./docker-images/proof-parameters.json
|
|
|
|
|
|
|
|
build-images:
|
2021-06-07 09:27:29 +00:00
|
|
|
docker build -t "iptestground/oni-buildbase:v15-lotus" -f "docker-images/Dockerfile.oni-buildbase" "docker-images"
|
|
|
|
docker build -t "iptestground/oni-runtime:v10" -f "docker-images/Dockerfile.oni-runtime" "docker-images"
|
|
|
|
docker build -t "iptestground/oni-runtime:v10-debug" -f "docker-images/Dockerfile.oni-runtime-debug" "docker-images"
|
2020-11-06 20:02:06 +00:00
|
|
|
|
|
|
|
push-images:
|
2021-06-07 09:27:29 +00:00
|
|
|
docker push iptestground/oni-buildbase:v15-lotus
|
|
|
|
docker push iptestground/oni-runtime:v10
|
|
|
|
docker push iptestground/oni-runtime:v10-debug
|
2020-11-06 20:02:06 +00:00
|
|
|
|
|
|
|
pull-images:
|
2021-06-07 09:27:29 +00:00
|
|
|
docker pull iptestground/oni-buildbase:v15-lotus
|
|
|
|
docker pull iptestground/oni-runtime:v10
|
|
|
|
docker pull iptestground/oni-runtime:v10-debug
|
2020-11-06 20:02:06 +00:00
|
|
|
|
|
|
|
.PHONY: download-proofs build-images push-images pull-images
|