This development container for Visual Studio Code is a pre-configured and isolated environment that allows you to develop, build, and test your software projects using consistent tools and settings. This development container can be used in Docker to create a standardized and reproducible environment for your development workflow. This is useful when working on projects that require specific versions of programming languages, libraries, tools, and other dependencies. By using this development container, you can ensure that all members of your development team work with the same development environment, reducing issues related to differences in configurations and dependencies.
FROM anagrambuild/risczero:latest
ARG SOLANA_VERSION=1.18.22
ENV USER=solana
ENV PATH=${PATH}:/usr/local/cargo/bin:/go/bin:/home/solana/.local/share/solana/install/releases/${SOLANA_VERSION}/bin
WORKDIR /home/solana
USER solana
- linux/amd64
- linux/arm64
Precompiled binaries are provided for amd64 architecture. Arm64 is supported by building locally using the build.sh
Also available from GitHub GHCR
Benefits of using development containers in Visual Studio Code include:
-
Consistency: Development containers ensure that everyone on the team is using the same environment, reducing "works on my machine" issues.
-
Isolation: Containers provide isolation from the host system, preventing conflicts between different software versions.
-
Reproducibility: Containers can be versioned, making it easy to replicate the exact development environment in different stages of the project.
-
Portability: Development containers can be shared and run on different machines, making it easier to onboard new team members or work across multiple devices.
-
Dependency Management: Containers encapsulate dependencies, eliminating the need to install and manage them directly on the host system.
To use this development container in Visual Studio Code, specify the Dockerfile
as defined below and reopen in the Remote Containers module.