-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e1f980f
commit 813876a
Showing
3 changed files
with
56 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
FROM mcr.microsoft.com/devcontainers/rust:latest | ||
|
||
# install a few tools for more convenient developing | ||
#RUN apt-get update; \ | ||
# apt-get -y install --fix-missing \ | ||
# git python3 cmake g++ python-is-python3 | ||
|
||
# [Optional] Uncomment this section to install additional packages. | ||
#RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \ | ||
# && apt-get -y install --no-install-recommends python-is-python3 | ||
|
||
# Add ./bin to PATH | ||
ENV PATH="./bin:${PATH}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the | ||
// README at: https://github.com/devcontainers/templates/tree/main/src/cpp | ||
// Based on https://github.com/microsoft/vscode-remote-try-cpp?tab=readme-ov-file | ||
{ | ||
"name": "Rust Dev Playbook", | ||
"build": { | ||
"dockerfile": "Dockerfile" | ||
}, | ||
// Features to add to the dev container. More info: https://containers.dev/features. | ||
"features": { | ||
"ghcr.io/devcontainers/features/github-cli:1": {}, // https://github.com/devcontainers/features/tree/main/src/github-cli | ||
"ghcr.io/devcontainers-contrib/features/actions-runner:1": {}, // https://github.com/devcontainers-contrib/features/tree/main/src/actions-runner | ||
"ghcr.io/devcontainers-contrib/features/actionlint:1": {}, // https://github.com/devcontainers-contrib/features/tree/main/src/actionlint | ||
"ghcr.io/devcontainers-contrib/features/direnv:1": {}, // https://github.com/devcontainers-contrib/features/tree/main/src/direnv | ||
"ghcr.io/devcontainers-contrib/features/fd:1": {}, // https://github.com/devcontainers-contrib/features/tree/main/src/fd | ||
}, | ||
|
||
// Configure tool-specific properties. | ||
"customizations": { | ||
// Configure properties specific to VS Code. | ||
"vscode": { | ||
"settings": {}, | ||
"extensions": [ | ||
"eamodio.gitlens", | ||
"streetsidesoftware.code-spell-checker", | ||
] | ||
} | ||
}, | ||
// Use 'forwardPorts' to make a list of ports inside the container available locally. | ||
// "forwardPorts": [], | ||
|
||
// Use 'postCreateCommand' to run commands after the container is created. | ||
// "postCreateCommand": "", | ||
|
||
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. | ||
// "remoteUser": "root" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters