Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jterrazz/42-docker-devstation
๐งจ Supercharge your setup with the best development and debugging packages.
https://github.com/jterrazz/42-docker-devstation
Last synced: 3 months ago
JSON representation
๐งจ Supercharge your setup with the best development and debugging packages.
- Host: GitHub
- URL: https://github.com/jterrazz/42-docker-devstation
- Owner: jterrazz
- Created: 2019-10-21T17:07:16.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-07-02T18:23:08.000Z (over 4 years ago)
- Last Synced: 2024-05-19T03:17:17.716Z (9 months ago)
- Language: Dockerfile
- Homepage:
- Size: 15.6 KB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
> Hey there, app enthusiasts! ๐ Ready to dive into the world of game-changing apps? At [jterrazz.com](https://jterrazz.com), I'm all about crafting useful applications and sharing the journey! Discover coding insights, self-improvement hacks, and sneak peeks of my latest projects (psst... my next app is all about leveling up in life! ๐). Come along for the ride - you might just find the spark for your next big idea! ๐ก๐ป
# Docker-devstation
> A docker image packing useful linux packages for **development** and **debugging**.
As long as you have access to docker, this repo will allow you to run / install **any linux packages** with **root privileges**. All that in your usual terminal (mac, windows, linux) without much impact on performances.
Many debug / security packages are included (`radare2`, `gdb`, `john`, `tshark`, etc). But feel free to fork to add your own packages ๐ค .
## Usage
```bash
./start
```### Access it from everywhere
1. Add in your `.zshrc`
```bash
SHARED_FOLDER="~"alias devstation="\
docker run \
--cap-drop=ALL \
--cap-add=SYS_PTRACE \
--privileged \
--security-opt seccomp=unconfined \
--security-opt apparmor=unconfined \
--rm \
-it -v ${SHARED_FOLDER}:/root/shared jterrazz/devstation zsh
"
```2. Restart your terminal or type `source ~/.zshrc`
3. Enjoy ๐
```bash
devstation # Start the machine
```### Build locally
```bash
./build.sh
```#### Add your own packages
Packages installed during runtime are not saved. You can add permanent packages in the `Dockerfile`. You will have to build the new image after that.
#### Docker shortcuts
```bash
# Stop all processes
docker rm $(docker ps -a -q)# Delete all images
docker rmi $(docker images -q)
```