Skip to content

Commit

Permalink
Set the PROTOCOL_VERSION_DEFAULT when building quickstart
Browse files Browse the repository at this point in the history
  • Loading branch information
leighmcculloch committed Apr 29, 2024
1 parent 697b2c2 commit 94d1257
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ SOROBAN_CLI_STAGE_IMAGE=stellar/system-test-soroban-cli:dev
# The rest of these variables can be set as environment variables to the makefile
# to modify how system test is built.

# The default protocol version that the image should start with. Should
# typically be set to the maximum supported protocol version of all components.
PROTOCOL_VERSION_DEFAULT=21

# variables to set for source code, can be any valid docker context url local path github remote repo `https://github.com/repo#<ref>`
CORE_GIT_REF=https://github.com/stellar/stellar-core.git\#master
SOROBAN_RPC_GIT_REF=https://github.com/stellar/soroban-tools.git\#main
Expand Down Expand Up @@ -156,6 +160,7 @@ build-quickstart: build-core build-friendbot build-horizon build-rs-xdr build-so
SOURCE_URL=.; \
fi; \
docker build -t "$(QUICKSTART_STAGE_IMAGE)" \
--build-arg PROTOCOL_VERSION_DEFAULT=$$PROTOCOL_VERSION_DEFAULT \
--build-arg BUILDKIT_CONTEXT_KEEP_GIT_DIR=true \
--build-arg STELLAR_CORE_IMAGE_REF=$$CORE_IMAGE_REF \
--build-arg STELLAR_XDR_IMAGE_REF=$$RS_XDR_IMAGE_REF \
Expand Down

0 comments on commit 94d1257

Please sign in to comment.