Skip to content

Commit 9c28984

Browse files
authored
Add Aztec installation to Dockerfile
1 parent 1ad5f54 commit 9c28984

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.devcontainer/Dockerfile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ SHELL ["/bin/bash", "-c"]
33

44
ENV NVM_DIR=/root/.nvm
55
ENV NODE_VERSION=22.15.0
6+
ARG AZTEC_VERSION=4.0.0-nightly.20260204
7+
ENV AZTEC_VERSION=$AZTEC_VERSION
8+
ENV NON_INTERACTIVE=1
9+
ENV BIN_PATH=/usr/local/bin
610

711
# Install dependencies including newer libstdc++
812
RUN apt update && apt install -y \
@@ -27,4 +31,6 @@ RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | b
2731

2832
# Add node and npm to path
2933
ENV PATH="${NVM_DIR}/versions/node/v${NODE_VERSION}/bin:${PATH}"
30-
RUN npm i -g yarn
34+
RUN npm i -g yarn
35+
RUN curl -fsSL "https://install.aztec.network/${AZTEC_VERSION}" \
36+
| VERSION="${AZTEC_VERSION}" bash -s

0 commit comments

Comments
 (0)