Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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)
```