Git Product home page Git Product logo

rustdevcontainer's Introduction

Rust Dev Container

Rust development container for Visual Studio Code

Icon

Alpine Debian

dockeri.co

Last Docker tag Latest size

Last release Last release size GitHub last release date Commits since release

GitHub last commit GitHub commit activity GitHub closed PRs GitHub issues GitHub closed issues

Lines of code Code size GitHub repo size

Visitors count

Features

  • Rust 1.76.0
  • Rust Analyzer 2024-02-05
  • Clippy
  • Rustfmt
  • Alpine based with Docker tags :latest and :alpine
  • Debian based with Docker tag :debian (1.51GB, based on qmcgaw/basedevcontainer:debian)
    • 1.21GB amd64 uncompressed image size
    • Compatible with amd64 and arm64
    • Based on qmcgaw/basedevcontainer:debian
      • Based on Debian Buster slim
      • Minimal custom terminal and packages
      • See more features
  • Cross platform
    • Easily bind mount your SSH keys to use with git
    • Manage your host Docker from within the dev container, more details at qmcgaw/basedevcontainer
  • Extensible with docker-compose.yml
  • Comes with extra binary tools for a few extra MBs: kubectl, kubectx, kubens, stern and helm

Requirements

See .devcontainer/README.md#Requirements

Setup for a project

  1. Setup your configuration files
    • With style ๐Ÿ’ฏ

      docker run -it --rm -v "/yourrepopath:/repository" qmcgaw/devtainr:v0.2.0 -dev rust -path /repository -name projectname

      If you run on Linux not as root, run the docker run command with --user="$(id -u):$(id -g)".

      Or use the built binary

    • Or manually: download this repository and put the .devcontainer directory in your project.

  2. If you have a .vscode/settings.json, eventually move the settings to .devcontainer/devcontainer.json in the "settings" section as .vscode/settings.json take precedence over the settings defined in .devcontainer/devcontainer.json.
  3. Open the command palette in Visual Studio Code (CTRL+SHIFT+P) and select Remote-Containers: Open Folder in Container... and choose your project directory
  4. See .devcontainer/README.md#Setup

Customization

See .devcontainer/README.md#Customization

License

This repository is under an MIT license unless indicated otherwise.

rustdevcontainer's People

Contributors

dependabot[bot] avatar qdm12 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

rustdevcontainer's Issues

Rust 1.65

This Project is nice, but Sadly i cannot work with it, is it maybe possible to update the image to 1.65?

Root owner of `.devcontainer` directory

After running the relative:

docker run -it --rm -v "/yourrepopath:/repository" qmcgaw/devtainr:v0.5.0 -dev rust -path /repository -name projectname

The directory and all it's files are owned by root.

Any way to change this behavior?

Currently I need to run:

sudo chown -R $USER: .devcontainer 

to access and edit these files.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.