Personal dev env setup using Makefile
-
Used in multiple platforms
- Cent OS on EC2
- Mac OS
- Cent OS on Chrome OS Linux Container
- Ubuntu on PCs
-
Makefile targets
cloud9
code-tunnel
awscli
shell
scripts
backup
swap
-
[Optional] Create
.vscode/extensions.json
from machine Ajq '[.[] | .identifier.id] | {"recommendations": . }' -r < ~/.vscode-server/extensions/extensions.json > .vscode/extensions.json
-
Open this workspace in machine B
code tunnel # Recommended for on-premise make code-tunnel # Recommended for EC2
-
Install recommended extensions
sudo dnf install https://dl.fedoraproject.org/pub/fedora/linux/releases/38/Everything/aarch64/os/Packages/h/hadolint-2.12.0-10.fc38.aarch64.rpm
ln -s /home/linuxbrew/.linuxbrew/Cellar/libffi/*/lib64/libffi.so.8 /home/linuxbrew/.linuxbrew/lib/libffi.so.8
brew deps hadolint --include-build --missing | grep -v -E 'cmake|gcc|llvm|rust|ninja|swig|pkg-config|go' | xargs brew install --ignore-dependencies
brew install ruff --ignore-dependencies
rm /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/linux/super/gcc