Skip to content

Commit d25499c

Browse files
committed
fix(ci): ensure asdf is correctly used
1 parent 1bd7b39 commit d25499c

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

.devcontainer/Dockerfile

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,13 @@ RUN tar -C /usr/local -xzf go.tar.gz
5656
ENV PATH="${PATH}:/usr/local/go/bin"
5757

5858
RUN go install github.com/asdf-vm/asdf/cmd/asdf@v0.16.0
59-
ENV PATH="${ASDF_DATA_DIR:-$HOME/.asdf}/shims:$PATH"
59+
ENV PATH="/root/.asdf/shims:$PATH"
6060
ENV PATH="${PATH}:/root/go/bin"
6161

6262
RUN asdf plugin add scarb
63-
RUN asdf install scarb 2.9.4
64-
65-
# For now add katana to the path to ensure the tests can be run without issues.
6663
RUN asdf plugin add dojo
67-
RUN asdf install dojo 1.4.1
64+
RUN echo "scarb 2.9.4\ndojo 1.4.1" > /.tool-versions
65+
RUN asdf install
6866

6967
RUN chown -R root:root /usr/local/cargo
7068
RUN chmod -R 700 /usr/local/cargo

0 commit comments

Comments
 (0)