a bin full of cool programs
' can run arm in docker with darm'
3 files changed, +9 -1
+3-0bin/darm
| @@ -0,0 +1,3 @@ | ||
| 1 | +#!/bin/bash | |
| 2 | +docker buildx build --platform linux/arm64 -t hygodev-arm -f $HOME/.hygobin/docker-images/dev.dockerfile --load . | |
| 3 | +docker run --rm -it -v $(pwd):/app -w /app --platform linux/arm64 hygodev-arm bash |
+1-1bin/sb
| @@ -1,3 +1,3 @@ | ||
| 1 | 1 | #!/bin/bash |
| 2 | 2 | echo -e "\e[38;5;202mSourcing bashrc...\e[0m" |
| 3 | -bash | |
| 3 | +source ~/.bashrc |
+5-0docker-images/dev.dockerfile
| @@ -0,0 +1,5 @@ | ||
| 1 | +FROM ubuntu:latest | |
| 2 | +RUN apt update | |
| 3 | +RUN apt install curl -y | |
| 4 | +RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y | |
| 5 | +RUN . "$HOME/.cargo/env" |