Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/harm-smits/42dev
42 development container
https://github.com/harm-smits/42dev
development-environment docker-image
Last synced: 2 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 (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-01-10T06:48:02.000Z (about 5 years ago)
- Last Synced: 2023-09-17T18:35:10.298Z (over 1 year ago)
- Topics: development-environment, docker-image
- Language: Dockerfile
- Homepage:
- Size: 1.95 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- 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
- radare2It 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}')
```