File tree 1 file changed +8
-2
lines changed
1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 2
2
# that the solana installer script just works, but you would be wrong. It seems
3
3
# to have been broken recently since the migration to the anza url.
4
4
# The old installer url returns a 403. So we instead rely on solana binaries cached on docker hub. Everything is fine.
5
- FROM backpackapp/build:v0.29.0 @sha256:9aee169b2d8b89b4a4243419ae35c176773136e78d751b3e439eff692c9c1293 as base
5
+ FROM backpackapp/build:v0.30.1 @sha256:c160fe32cba7c463981110b2aac2924de4833c06a0af6473a830ead880c4ef3b as base
6
6
7
7
RUN apt update
8
8
@@ -19,6 +19,12 @@ RUN bash -ci "foundryup"
19
19
20
20
RUN apt install -y jq
21
21
22
+ FROM base as base-solana
23
+
24
+ RUN cargo install --git https://github.com/coral-xyz/anchor avm --locked --force
25
+ RUN avm install 0.29.0
26
+ RUN avm use 0.29.0
27
+
22
28
FROM base as cli-remote
23
29
# NOTE: when invoking the installer outside of the source tree, it clones the
24
30
# repo and installs that way.
@@ -27,7 +33,7 @@ COPY cli/install.sh cli/install.sh
27
33
RUN bash -ci "./cli/install.sh"
28
34
RUN bash -ci "which ntt"
29
35
30
- FROM base as cli-local
36
+ FROM base-solana as cli-local
31
37
# NOTE: when invoking the installer inside of the source tree, it installs from
32
38
# the local source tree.
33
39
# This build stage tests that path.
You can’t perform that action at this time.
0 commit comments