nitro-stack/stack-orchestrator/container-build/cerc-nitro-client/build.sh
nabarun 5843397bc7 Remove go-nitro repo directory from build context (#14)
Part of [Create bridge channel in go-nitro](https://www.notion.so/Create-bridge-channel-in-go-nitro-22ce80a0d8ae4edb80020a8f250ea270)

Co-authored-by: Shreerang Kale <shreerangkale@gmail.com>
Reviewed-on: #14
2024-10-23 13:08:38 +00:00

10 lines
329 B
Bash
Executable File

#!/usr/bin/env bash
# Build cerc/nitro-client
source ${CERC_CONTAINER_BASE_DIR}/build-base.sh
# See: https://stackoverflow.com/a/246128/1701505
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
docker build -t cerc/nitro-client:local -f ${SCRIPT_DIR}/Dockerfile ${build_command_args} $SCRIPT_DIR