Skip to content

Commit

Permalink
feat: Switched to using prebuilds from GHCR (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
njelich authored Feb 4, 2024
1 parent 314dd33 commit c607cff
Show file tree
Hide file tree
Showing 10 changed files with 3 additions and 170 deletions.
12 changes: 0 additions & 12 deletions .devcontainer/Dockerfile

This file was deleted.

18 changes: 0 additions & 18 deletions .devcontainer/cargo-near/README.md

This file was deleted.

8 changes: 0 additions & 8 deletions .devcontainer/cargo-near/devcontainer-feature.json

This file was deleted.

16 changes: 0 additions & 16 deletions .devcontainer/cargo-near/install.sh

This file was deleted.

34 changes: 0 additions & 34 deletions .devcontainer/devcontainer-lock.json

This file was deleted.

38 changes: 3 additions & 35 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,40 +1,8 @@
{
"name": "NEAR Devcontainer Rust",
"build": {
"dockerfile": "./Dockerfile",
"context": "."
},

"features": {
"./cargo-near": {},
"./near-cli": {},
"ghcr.io/devcontainers-community/features/llvm": {},
"ghcr.io/devcontainers/features/rust:1": "latest",
"ghcr.io/devcontainers/features/docker-in-docker:2": {},
"ghcr.io/devcontainers/features/git:1": {
"version": "latest",
"ppa": "false"
},
"ghcr.io/lee-orr/rusty-dev-containers/cargo-binstall:0": {},
"ghcr.io/devcontainers/features/common-utils:2": {
"installZsh": "true",
"username": "vscode",
"userUid": "1000",
"userGid": "1000",
"upgradePackages": "true"
}
},
"image": "ghcr.io/near/near-devcontainer:latest",

// 👇 Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],

"postCreateCommand": "bash .devcontainer/init.sh",

"remoteUser": "vscode",

"customizations": {
"codespaces": {
"openFiles": ["README.md", "src/lib.rs", "tests/test_basics.rs"]
}
}
// Uncomment and modify the following lines if necessary
// "forwardPorts": [8000],
}
5 changes: 0 additions & 5 deletions .devcontainer/init.sh

This file was deleted.

18 changes: 0 additions & 18 deletions .devcontainer/near-cli/README.md

This file was deleted.

8 changes: 0 additions & 8 deletions .devcontainer/near-cli/devcontainer-feature.json

This file was deleted.

16 changes: 0 additions & 16 deletions .devcontainer/near-cli/install.sh

This file was deleted.

0 comments on commit c607cff

Please sign in to comment.