Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shixinhuang99/devcontainer
vscode dev container
https://github.com/shixinhuang99/devcontainer
Last synced: 22 days ago
JSON representation
vscode dev container
- Host: GitHub
- URL: https://github.com/shixinhuang99/devcontainer
- Owner: shixinhuang99
- License: mit
- Created: 2023-12-12T17:09:06.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-24T16:05:35.000Z (7 months ago)
- Last Synced: 2024-06-24T18:00:48.589Z (7 months ago)
- Language: Dockerfile
- Size: 41 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Init
#### workspace permission
```sh
sudo chown vscode /home/vscode/workspace
```#### reset password
```sh
sudo passwd root
``````sh
sudo passwd vscode
```#### fish
Add
```sh
fish_add_path $HOME/.cargo/bin
atuin init fish | source
fnm env --use-on-cd | source
```to your `is-interactive` block in your `~/.config/fish/config.fish` file
### Manually install the following tools because using QEMU during the image building stage results in very long compilation times
```sh
cargo install atuin
cargo install cargo-edit --no-default-features --features set-version
cargo install taplo-cli
```# Known issues
- Updating the toolchain via `rustup` will fail, you need to uninstall and reinstall manually
- Can't use GPG keys
```sh
error: gpg failed to sign the data:
gpg: can't connect to the agent: End of file
gpg: keydb_search failed: No agent running
gpg: skipped "...": No agent running
[GNUPG:] INV_SGNR 0 ...
[GNUPG:] FAILURE sign ...
gpg: signing failed: No agent running
```Make sure the `gpg-agent` is running on the host
```sh
eval $(gpg-agent --daemon)
```And the GPG key has been imported
```sh
gpg --list-secret-keys
```