Skip to content

Commit

Permalink
changes for docker compose
Browse files Browse the repository at this point in the history
Signed-off-by: munapower <[email protected]>
  • Loading branch information
munapower committed Jul 18, 2024
1 parent 423740d commit 5fe62f9
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion samples/deployment/test-network/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ ifeq ($(CC_PATH),)
$(error CC_PATH is not set)
endif


# Define default value for CONTAINER_CLI if not set
CONTAINER_CLI ?= docker

Expand All @@ -36,8 +37,13 @@ ecc-container:
if [ "${SGX_MODE}" = "HW" ]; then \
export HW_EXTENSION="-hw" ; \
fi && \
if [ "${WITH_GO}" = "YES" ]; then \
export ECC_PATH=${CC_PATH}/mrenclave ; \
else \
export ECC_PATH=${CC_PATH}/_build/lib ; \
fi && \
make -C ${CC_PATH} && \
make -C ${FPC_PATH}/ecc DOCKER_IMAGE=fpc/fpc-${CC_ID}$${HW_EXTENSION} DOCKER_ENCLAVE_SO_PATH=${CC_PATH}/_build/lib all docker
make -C ${FPC_PATH}/ecc DOCKER_IMAGE=fpc/fpc-${CC_ID}$${HW_EXTENSION} DOCKER_ENCLAVE_SO_PATH=$${ECC_PATH} all docker

ercc-ecc-start: infoln
if [ ! -z "${DOCKERD_FPC_PATH}" ]; then \
Expand Down

0 comments on commit 5fe62f9

Please sign in to comment.