Skip to content

Commit 27dcc01

Browse files
committed
Updating quickstart to pull prebuilt containers by default
1 parent 1952f30 commit 27dcc01

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

quickstart.sh

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@
2525
# is not specified the #AUTHNZ_* lines in .env will be uncommented to
2626
# use ports that do not require root permissions.
2727
#
28+
# FORCE_BUILD=y If 'y', all ANMS-specific containers will be built locally.
29+
# Otherwise, prebuilt containers will be pulled from ghcr for quicker startup.
30+
#
2831
# Note: This script was created with assistance from openai/gpt-oss-120b
2932
set -e
3033

@@ -81,8 +84,12 @@ cp docker-compose.no-security-override.yml docker-compose.override.yml
8184
./create_volume.sh ./puppet/modules/apl_test/files/anms/tls
8285

8386
# Build system
84-
${DOCKER_CMD} compose build
85-
87+
if [[ ${FORCE_BUILD:-} == y ]]; then
88+
${DOCKER_CMD} compose --profile full --profile dev build
89+
else
90+
${DOCKER_CMD} compose --profile full --profile dev pull
91+
fi
92+
8693
# Start testenv (unless disabled)
8794
if [[ ${USE_TESTENV:-} != n ]]; then
8895
${DOCKER_CMD} compose -f testenv-compose.yml up -d

0 commit comments

Comments
 (0)