Skip to content

Commit

Permalink
chore: Update devcontainer.json and README (#192)
Browse files Browse the repository at this point in the history
Update the outdated container definition as in
https://github.com/devcontainers/feature-starter and make minor
modifications to the README.
  • Loading branch information
eitsupi authored Sep 3, 2023
1 parent 5a05900 commit eb86653
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 9 deletions.
19 changes: 12 additions & 7 deletions .devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"image": "mcr.microsoft.com/vscode/devcontainers/javascript-node:0-18",
"image": "mcr.microsoft.com/devcontainers/javascript-node:1-18-bullseye",
"customizations": {
"vscode": {
"extensions": [
Expand All @@ -10,15 +10,20 @@
"redhat.vscode-yaml"
],
"settings": {
"terminal.integrated.defaultProfile.linux": "zsh"
"terminal.integrated.defaultProfile.linux": "zsh",
"json.schemas": [
{
"fileMatch": [
"*/devcontainer-feature.json"
],
"url": "https://raw.githubusercontent.com/devcontainers/spec/main/schemas/devContainerFeature.schema.json"
}
]
}
}
},
"features": {
"ghcr.io/devcontainers/features/docker-in-docker:2": {
"version": "latest"
}
"ghcr.io/devcontainers/features/docker-in-docker:2": {}
},
"remoteUser": "node",
"postCreateCommand": "npm install -g @devcontainers/cli"
"updateContentCommand": "npm install -g @devcontainers/cli"
}
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Dev Container Features (for R)
# Dev Container Features by Rocker Project

This repository contains a _collection_ of Dev Container Features.

Expand All @@ -7,14 +7,17 @@ please check [the specification](https://containers.dev/implementors/features/)
[the devcontainers' official Development Container Features repository](https://github.com/devcontainers/features).

This repository is based on the [the `devcontainers/features` repository](https://github.com/devcontainers/features),
and intended to make it easy to add R-related functionality on top of the Debian base containers.
and intended to make it easy to add Rocker Project related functionality.

## Contents

### [`apt-packages`](src/apt-packages/README.md)

Installs packages of the user's choice via apt.

A simple Feature that implements the functionality proposed in
[devcontainers/features#67](https://github.com/devcontainers/features/issues/67).

### [`miniforge`](src/miniforge/README.md)

Install [Conda](https://docs.conda.io) and [Mamba](https://mamba.readthedocs.io)
Expand Down

0 comments on commit eb86653

Please sign in to comment.