forked from jimpick/lotus-fvm-localnet
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
27 lines (19 loc) · 787 Bytes
/
Makefile
File metadata and controls
27 lines (19 loc) · 787 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
all: build
build: build-base
.PHONY: all build build-base build-ready run-base run-ready run-base-root
build-base:
DOCKER_BUILDKIT=1 docker build -f Dockerfile-base --progress=plain -t jimpick/lotus-fvm-localnet-base .
build-ready:
DOCKER_BUILDKIT=1 docker build -f Dockerfile-ready --progress=plain -t jimpick/lotus-fvm-localnet-ready .
run-base:
-docker stop localnet
-docker rm localnet
docker run -it --entrypoint /bin/bash --name localnet jimpick/lotus-fvm-localnet-base
run-base-root:
-docker stop localnet
-docker rm localnet
docker run -it --user=0 --entrypoint /bin/bash --name localnet jimpick/lotus-fvm-localnet-base
run-ready:
-docker stop localnet
-docker rm localnet
docker run -it --entrypoint /bin/bash --name localnet jimpick/lotus-fvm-localnet-ready