Skip to content

Commit 7f94289

Browse files
committed
use tarball
1 parent 9a8cf83 commit 7f94289

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

configuration/Dockerfile

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,9 @@ RUN wget -q ${MINA_REPO}/repo-signing-key.gpg -O /etc/apt/trusted.gpg.d/minaprot
5151
RUN rm -f /var/lib/coda/config_*.json
5252

5353
# install Archive Node API
54-
RUN printf '%s\n' \
55-
'registry=https://registry.npmjs.org/' \
56-
'@o1labs:registry=https://europe-southwest1-npm.pkg.dev/o1labs-192920/euro-npm/' \
57-
> /root/.npmrc \
58-
&& npm install -g archive-node-graphql@${ARCHIVE_NODE_API_VERSION} \
59-
&& rm /root/.npmrc
54+
ARG ARCHIVE_NODE_API_TARBALL_URL="https://europe-southwest1-npm.pkg.dev/o1labs-192920/euro-npm/archive-node-graphql/-/archive-node-graphql-${ARCHIVE_NODE_API_VERSION}.tgz"
55+
56+
RUN npm install -g "${ARCHIVE_NODE_API_TARBALL_URL}"
6057

6158
# install Mina Accounts Manager
6259
RUN wget https://github.com/shimkiv/mina-accounts-manager/releases/download/v${MINA_ACCOUNTS_MANAGER_VERSION}/accounts-manager-${TARGETARCH} \

0 commit comments

Comments
 (0)