forked from ethereum-optimism/optimism
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
49 lines (41 loc) · 871 Bytes
/
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
BATCH_SUBMITTER ?= docker-compose.ts-batch-submitter.yml
DOCKER_COMPOSE_CMD := docker-compose \
-f docker-compose.yml \
-f $(BATCH_SUBMITTER)
build:
DOCKER_BUILDKIT=1 \
$(DOCKER_COMPOSE_CMD) \
build
.PHONY: build
up: down
DOCKER_BUILDKIT=1 \
$(DOCKER_COMPOSE_CMD) \
up --build --detach
.PHONY: up
down:
$(DOCKER_COMPOSE_CMD) \
down
.PHONY: down
ps:
$(DOCKER_COMPOSE_CMD) \
ps
.PHONY: ps
up-metrics: down-metrics
DOCKER_BUILDKIT=1 \
$(DOCKER_COMPOSE_CMD) \
-f docker-compose-metrics.yml \
up --build --detach
.PHONY: up-metrics
down-metrics:
$(DOCKER_COMPOSE_CMD) \
-f docker-compose-metrics.yml \
down
.PHONY: down-metrics
ps-metrics:
$(DOCKER_COMPOSE_CMD) \
-f docker-compose-metrics.yml \
ps
.PHONY: ps
regenesis-surgery:
docker build -f ./docker/Dockerfile.regenesis-surgery \
-t ethereumoptimism/regenesis-surgery:latest ..