https://github.com/harm-smits/42dev
42 development container
https://github.com/harm-smits/42dev
development-environment docker-image
Last synced: 8 months ago
JSON representation
42 development container
- Host: GitHub
- URL: https://github.com/harm-smits/42dev
- Owner: harm-smits
- Created: 2019-12-21T07:04:17.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-01-10T06:48:02.000Z (over 6 years ago)
- Last Synced: 2025-07-05T00:40:23.241Z (12 months ago)
- Topics: development-environment, docker-image
- Language: Dockerfile
- Homepage:
- Size: 1.95 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 42dev
This is my development container for whenever I need to use some fancy debugging tools in Codam (42). It has the following
debuggin tools available:
- gdb
- bash
- valgrind
- strace
- ltrace
- radare2
It will mount your documents folder by default so you can easily use that as your working tree.
Add the following to your zsh to use the container with ease
```sh
alias dev-install="docker pull harmsmits/42dev"
alias dev="docker start -i -a $(docker ps -a | grep harmsmits/42dev | head -1 | cut -f1 | awk '{print $1}')"
alias dev-spawn="docker run -it -v ~/Documents:/home harmsmits/42dev zsh"
```
To build it, just pull the container and then run it:
```sh
docker image build -t harmsmits/42dev .
docker run -it -v $1:/home harmsmits/42dev zsh
docker start -i -a $(docker ps -a | grep 42dev | head -1 | cut -f1 | awk '{print $1}')
```