diff --git a/contrib/images/Makefile b/contrib/images/Makefile index 360ca455e..71c44e3c6 100644 --- a/contrib/images/Makefile +++ b/contrib/images/Makefile @@ -4,11 +4,11 @@ BABYLON_FULL_PATH := $(shell git rev-parse --show-toplevel) all: babylond cosmos-relayer babylond: babylond-rmi - docker build --tag babylonlabs-io/babylond -f babylond/Dockerfile ${BABYLON_FULL_PATH} + docker build --tag babylonlabs-io/babylond -f babylond/Dockerfile ${BABYLON_FULL_PATH} --platform=local babylond-e2e: docker build --tag babylonlabs-io/babylond -f babylond/Dockerfile ${BABYLON_FULL_PATH} \ - --build-arg BUILD_TAGS="e2e" + --platform=local --build-arg BUILD_TAGS="e2e" babylond-rmi: docker rmi babylonlabs-io/babylond 2>/dev/null; true @@ -17,12 +17,12 @@ e2e-init-chain-rmi: docker rmi babylonlabs-io/babylond-e2e-init-chain --force 2>/dev/null; true e2e-init-chain: - docker build -t babylonlabs-io/babylond-e2e-init-chain --build-arg E2E_SCRIPT_NAME=chain --platform=linux/x86_64 \ + docker build -t babylonlabs-io/babylond-e2e-init-chain --build-arg E2E_SCRIPT_NAME=chain --platform=local \ -f e2e-initialization/init.Dockerfile ${BABYLON_FULL_PATH} cosmos-relayer: cosmos-relayer-rmi docker build --tag babylonlabs-io/cosmos-relayer:${RELAYER_TAG} -f cosmos-relayer/Dockerfile \ - ${BABYLON_FULL_PATH}/contrib/images/cosmos-relayer + ${BABYLON_FULL_PATH}/contrib/images/cosmos-relayer --platform=local docker tag babylonlabs-io/cosmos-relayer:${RELAYER_TAG} babylonlabs-io/cosmos-relayer:latest cosmos-relayer-rmi: