Skip to content

Commit 4fa59a6

Browse files
gusinaciolutter
authored andcommitted
codespaces: set rust version to 1.66.0
1 parent b8de8ff commit 4fa59a6

File tree

3 files changed

+5
-24
lines changed

3 files changed

+5
-24
lines changed

.devcontainer/Dockerfile

-5
This file was deleted.

.devcontainer/devcontainer.json

+4-16
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,18 @@
22
// README at: https://github.com/devcontainers/templates/tree/main/src/rust
33
{
44
"name": "Rust",
5-
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
65
"dockerComposeFile": "docker-compose.yml",
76
"service": "devcontainer",
87
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
98
"features": {
10-
"ghcr.io/devcontainers/features/rust:1": {}
9+
"ghcr.io/devcontainers/features/rust:1": {
10+
"version": "1.66.0"
11+
}
1112
},
1213
"customizations": {
1314
"vscode": {
1415
"extensions": [
15-
"rust-lang.rust-analyzer", // rust analyser
16+
"rust-lang.rust-analyzer@prerelease", // rust analyser, pre-release has less bugs
1617
"cschleiden.vscode-github-actions", // github actions
1718
"serayuzgur.crates", // crates
1819
"vadimcn.vscode-lldb" //debug
@@ -32,23 +33,10 @@
3233
// "type": "volume"
3334
// }
3435
// ]
35-
36-
// Features to add to the dev container. More info: https://containers.dev/features.
37-
// "features": {},
38-
39-
// Use 'forwardPorts' to make a list of ports inside the container available locally.
4036
"forwardPorts": [
4137
8000, // GraphiQL on node-port
4238
8020, // create and deploy subgraphs
4339
5001 //ipfs
4440
]
4541

46-
// Use 'postCreateCommand' to run commands after the container is created.
47-
// "postCreateCommand": "rustc --version",
48-
49-
// Configure tool-specific properties.
50-
// "customizations": {},
51-
52-
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
53-
// "remoteUser": "root"
5442
}

.devcontainer/docker-compose.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@ version: '3'
22

33
services:
44
devcontainer:
5-
build:
6-
context: .
7-
dockerfile: Dockerfile
5+
image: mcr.microsoft.com/vscode/devcontainers/rust:bullseye
86
volumes:
97
- ../..:/workspaces:cached
108
network_mode: service:database

0 commit comments

Comments
 (0)