Skip to content

Commit

Permalink
Update devcontainer docker
Browse files Browse the repository at this point in the history
  • Loading branch information
tarrencev committed Dec 1, 2023
1 parent 4a9305f commit dd36cf5
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# [Choice] Debian OS version (use bullseye on local arm64/Apple Silicon): buster, bullseye
ARG VARIANT
FROM mcr.microsoft.com/vscode/devcontainers/rust:0-${VARIANT}
FROM mcr.microsoft.com/vscode/devcontainers/rust:${VARIANT}

# Install additional packages
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
Expand All @@ -28,10 +28,9 @@ ENV NVM_SYMLINK_CURRENT=true \
COPY .devcontainer/library-scripts/node-debian.sh /tmp/library-scripts/
RUN apt-get update && bash /tmp/library-scripts/node-debian.sh "${NVM_DIR}"

RUN pip install starknet-devnet==v0.5.0a2

# Install dojoup for vscode user
# Install dojoup and scarb for vscode user
USER vscode
RUN curl -L https://install.dojoengine.org | bash
RUN curl --proto '=https' --tlsv1.2 -sSf https://docs.swmansion.com/scarb/install.sh | bash

ENV PATH=${PATH}:/workspaces/dojo/target/release

0 comments on commit dd36cf5

Please sign in to comment.