-
Notifications
You must be signed in to change notification settings - Fork 6
/
Makefile
55 lines (39 loc) · 1.61 KB
/
Makefile
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
all: build
build: build-base
.PHONY: all build build-base build-ready run-base run-ready run-base-root
build-ubuntu-dev:
DOCKER_BUILDKIT=1 docker build -f Dockerfile-ubuntu-dev --progress=plain -t jimpick/lotus-fvm-localnet-ubuntu-dev .
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 .
build-lite:
DOCKER_BUILDKIT=1 docker build -f Dockerfile-lite --progress=plain -t jimpick/lotus-fvm-localnet-lite .
build-python:
DOCKER_BUILDKIT=1 docker build -f Dockerfile-python --progress=plain -t jimpick/lotus-fvm-localnet-python .
run-ubuntu-dev:
-docker stop localnet
-docker rm localnet
docker run -it --entrypoint /bin/bash --name localnet jimpick/lotus-fvm-localnet-ubuntu-dev
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
run-lite:
-docker stop localnet
-docker rm localnet
docker run -it --entrypoint /bin/bash --name localnet jimpick/lotus-fvm-localnet-lite
run-python:
-docker stop localnet
-docker rm localnet
docker run -it --entrypoint /bin/bash --name localnet jimpick/lotus-fvm-localnet-python
clear-cache:
docker builder prune -a -f