Under Construction
[ ] Common Dev Dependencies
[x] OMZ ZSH Shell
[ ] Git
[ ] SSH Keys and Secrets
[ ] VSCode Extensions and Settings
[ ] Packer / WSL Docker
.devcontainer/devcontainer.json
#!pwsh.exe
pnpm add -g @devcontainers/cli
git submodule update --init --recursive # have to do this before the container starts
# might want to add some git stuff to the container
devcontainer build --workspace-folder . --image-name jchan48h/devcontainer:dev devcontainer up --id-label name=val --workspace-folder . --remove-existing-container # force and no detach... devcontainer exec --id-label name=val --workspace-folder . "zsh"
git config --global --add safe.directory /workspaces/devcontainer
git submodule init git submodule update git-submodule --help
git config --global --list
git submodule deinit test/bats git submodule deinit -f test/bats git submodule deinit -f test/test_helper/bats-assert git submodule deinit -f test/test_helper/bats-support
git submodule add https://github.com/bats-core/bats-core.git test/bats git submodule add https://github.com/bats-core/bats-support.git test/test_helper/bats-support git submodule add https://github.com/bats-core/bats-assert.git test/test_helper/bats-assert
git clone --recurse-submodules
git submodule update --init
git submodule update --init --recursive
git config --global core.filemode false git config --global core.filemode
# Exists
* [x] Rsync
* [x] wget
* [x] curl
* [x] ssh
* [x] git
* [x] python3
* [ ] network
* [x] ifconfig
* [x] ip
* [ ] node
* [ ] pipx
* [ ] nginx
* [ ] sshd
* [ ] sudo -e
* [ ] tmux
* screen
* [ ] systemctl (negative...)
* other cat
* wsl seems beter tbh
## Backlog
* $profile
* ahk / other key bindings
* wsl
* xeyes / gui
* other ssh stuff like config
## VSCode Docker Dev Container
* https://hub.docker.com/repository/docker/jchan48h/deb-network/general
* old one
* try Packer?
## push fixme / test
* use f1 to launch devcontainer to try?
```txt
.
├── .devcontainer
│ ├── devcontainer.json
│ └── Dockerfile
├── .vscode
│ ├── extensions.json
│ └── settings.json
├── src
│ └── ...
└── README.md
mkdir -p .devcontainer
code .devcontainer/devcontainer.json
code .devcontainer/Dockerfile
# cygwin in the wrong place...
# F1 command
docker build --pull --rm -f ".devcontainer\Dockerfile" -t devcontainer:latest ".devcontainer"
docker container ls --all
docker run -it --rm devcontainer:latest ".devcontainer" --name dc --hostname dc ".devcontainer"
docker image ls
## oh did i use my debian.,, why is it installing docker
# add docker profiles
## should add some bash / powershell aliases
# macro deck?
docker image ls | grep container
docker run -d devcontainer:latest
docker run -d --name devcontainer-0 devcontainer:latest bash
docker rm devcontainer-0 -f
docker start devcontainer-0
docker container ls
docker container ls --all
docker container prune -f
docker container ls
{
// "git.path": "C:\\Program Files\\Git\\cmd\\git.exe",
"git.path": "C:\\Program Files\\Git\\cmd\\git.exe",
"liveServer.settings.AdvanceCustomBrowserCmdLine": "",
// "remote.SSH.path": "C:\\cygwin64\\bin\\ssh.exe"
// "remote.SSH.path": "C:\\Program Files\\OpenSSH-Win64\\ssh.exe",
"remote.SSH.path": "c:/progra~1/Git/cmd/git.exe",
"remote.SSH.path": "C:\\Program Files\\OpenSSH-Win64\\sshd.exe",
}
Could not connect to ssh-agent on local host (\\.\pipe\openssh-ssh-agent). Make sure the service is running.
ghcr.io/mamba-org/devcontainer-features/micromamba:1
# hychan48 -> jchan48h
docker pull jchan48h/devcontainer:latest
# docker run -it --rm --name devcontainer -v $(pwd):/home/devcontainer/project jchan48h/devcontainer:latest
# non docker
# Run this on a new pull?
git submodule init
git config --global --add safe.directory /workspaces/devcontainer git config --global auto.crlf input # this one is fake git config --global core.autocrlf input # this one...
rmdir -force test git.exe reset --hard git.exe status
git submodule update --init --recursive
git submodule update --remote --merge