Skip to content

Commit a864c06

Browse files
authored
chore(release): give aztec release image sensible default entrypoint (#13517)
Default entrypoint to make alpha test net docker composes simpler to write
1 parent e50d8e0 commit a864c06

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

aztec-up/bin/.aztec-run

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ function run {
141141
${arg_env_vars:-} \
142142
${arg_host_binds:-} \
143143
${arg_user:-} \
144+
--entrypoint "" \
144145
aztecprotocol/aztec:$VERSION "${args[@]}"
145146
}
146147

release-image/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ ENV ACVM_WORKING_DIRECTORY=/usr/src/acvm
99
ENV ACVM_BINARY_PATH=/usr/src/noir/noir-repo/target/release/acvm
1010
RUN mkdir -p $BB_WORKING_DIRECTORY $ACVM_WORKING_DIRECTORY && chmod 777 $BB_WORKING_DIRECTORY $ACVM_WORKING_DIRECTORY
1111
WORKDIR "/usr/src/yarn-project"
12+
ENTRYPOINT ["/bin/bash", "-c", "node --no-warnings /usr/src/yarn-project/aztec/dest/bin/index.js"]

release-image/README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,5 @@ We then manually install our required version of node, and a handful of require
2727

2828
# Entrypoint
2929

30-
The entrypoint is just the default bash shell.
31-
This means when running the container, you should pass as arguments the desired entrypoint and arguments.
32-
This could be nargo, aztec-wallet, aztec cli, anvil, etc.
30+
The entrypoint will the aztec cli, you should pass as arguments the desired entrypoint and arguments.
31+
When wanting to run nargo, aztec-wallet, aztec cli, anvil, etc, update the entrypoint to just be bash before executing.

0 commit comments

Comments
 (0)