2020-07-07 16:36:22 +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
|
2020-07-27 11:57:01 +00:00
|
|
|
|
|
|
|
build-images:
|
|
|
|
docker build -t "iptestground/oni-buildbase:v5" -f "docker-images/Dockerfile.oni-buildbase" "docker-images"
|
|
|
|
docker build -t "iptestground/oni-runtime:v2" -f "docker-images/Dockerfile.oni-runtime" "docker-images"
|
|
|
|
docker build -t "iptestground/oni-runtime:v2-debug" -f "docker-images/Dockerfile.oni-runtime-debug" "docker-images"
|
|
|
|
|
|
|
|
push-images:
|
|
|
|
docker push iptestground/oni-buildbase:v5
|
|
|
|
docker push iptestground/oni-runtime:v2
|
|
|
|
docker push iptestground/oni-runtime:v2-debug
|
|
|
|
|
|
|
|
pull-images:
|
|
|
|
docker pull iptestground/oni-buildbase:v5
|
|
|
|
docker pull iptestground/oni-runtime:v2
|
|
|
|
docker pull iptestground/oni-runtime:v2-debug
|
|
|
|
|
|
|
|
.PHONY: download-proofs build-images push-images pull-images
|