Skip to content

Commit 03d5907

Browse files
kariyclaude
andcommitted
ci(docker): install all required scarb versions
Install scarb 2.8.2, 2.11.4, and 2.12.2 via asdf for building: - Main contracts (2.8.2) - AVNU contracts (2.11.4) - VRF contracts (2.12.2) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent fa5edec commit 03d5907

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/Dockerfile

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,15 @@ ENV ASDF_DATA_DIR=/root/.asdf
113113
RUN mkdir -p $ASDF_DATA_DIR
114114
ENV PATH="$ASDF_DATA_DIR/shims:$PATH"
115115

116-
# Install scarb via asdf
117-
RUN asdf plugin add scarb && asdf install scarb 2.8.2 && asdf set scarb 2.8.2
116+
# Install scarb versions via asdf
117+
# - 2.8.2: main contracts
118+
# - 2.11.4: AVNU contracts
119+
# - 2.12.2: VRF contracts
120+
RUN asdf plugin add scarb && \
121+
asdf install scarb 2.8.2 && \
122+
asdf install scarb 2.11.4 && \
123+
asdf install scarb 2.12.2 && \
124+
asdf set scarb 2.8.2
118125

119126
# Install caddy
120127
ARG TARGETPLATFORM

0 commit comments

Comments
 (0)