-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
23 lines (19 loc) · 979 Bytes
/
Makefile
File metadata and controls
23 lines (19 loc) · 979 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
.PHONY: config-image
# Default config file path, can be overridden
CONFIG_FILE ?= https://raw.githubusercontent.com/ethpandaops/ethereum-package/refs/heads/main/.github/tests/mix.yaml
CONFIG_IMAGE_NAME ?= ethereum-package-config
CONFIG_IMAGE_TAG ?= latest
ETHEREUM_PACKAGE_REPO ?= https://github.com/ethpandaops/ethereum-package
ETHEREUM_PACKAGE_BRANCH ?= main
config-image:
@# Extract packages and build docker image
@PACKAGES=$$(./scripts/extract-packages.sh -p $(ETHEREUM_PACKAGE_REPO)@$(ETHEREUM_PACKAGE_BRANCH) $(CONFIG_FILE)) && \
docker build -f Dockerfile \
--build-arg PACKAGE_LIST="$$PACKAGES" \
--build-arg ETHEREUM_PACKAGE_CONFIG_FILE=$(CONFIG_FILE) \
--build-arg ETHEREUM_PACKAGE_REPO=$(ETHEREUM_PACKAGE_REPO) \
--build-arg ETHEREUM_PACKAGE_BRANCH=$(ETHEREUM_PACKAGE_BRANCH) \
-t $(CONFIG_IMAGE_NAME):$(CONFIG_IMAGE_TAG) .
antithesis-images-list:
@# Generate config images for each package
@./scripts/extract-images.sh -f semicolon $(CONFIG_FILE)