Skip to content
This repository has been archived by the owner on Jan 24, 2025. It is now read-only.

Commit

Permalink
Also create snapshots dir in run.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippGackstatter committed May 2, 2024
1 parent e60f4d6 commit 8fcd9bc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tools/docker-network/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ if [[ "$WITH_GO_WORK" -eq 1 ]]; then
export DOCKERFILE_PATH="./iota-core/Dockerfile.dev"
fi

mkdir -p docker-network-snapshots/
# Allow 'others' to write, so a snapshot can be created via the management API from within docker containers.
chmod o+w docker-network-snapshots/

# Allow docker compose to build and cache an image
echo $DOCKER_BUILD_CONTEXT $DOCKERFILE_PATH
docker compose build --build-arg WITH_GO_WORK=${WITH_GO_WORK:-0} --build-arg DOCKER_BUILD_CONTEXT=${DOCKER_BUILD_CONTEXT} --build-arg DOCKERFILE_PATH=${DOCKERFILE_PATH}
Expand Down

0 comments on commit 8fcd9bc

Please sign in to comment.