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

https://github.com/pmerku/smart_work

Dockerized development environment
https://github.com/pmerku/smart_work

development-environment docker-compose docker-images

Last synced: over 1 year ago
JSON representation

Dockerized development environment

Awesome Lists containing this project

README

          

## Dockerized dev

This is my custom development environment for `C`, `NASM` and `PYTHON` projects. \
Make sure you have `docker cli` and `docker-compose` installed.

### Installation

Please run the following:

```
git clone git://github.com/pmerku/smart_work.git ~/smart_work
cd ~/smart_work
docker-compose build
```

### Usage

The images are now built and you can use them with these commands in your project root directory:

```
docker run -it --rm --init -v "$PWD:/pwd" pmerku/clang sh -c "cd /pwd; zsh"
docker run -it --rm --init -v "$PWD:/pwd" pmerku/python sh -c "cd /pwd; zsh"
```

``For windows change $PWD:/pwd to ${PWD}:/pwd``

### Debug mode

Debug mode includes: lldb, valgring, strace and ltrace

You can switch to the debug version of the clang docker image by changing ``dev`` to ``debug`` in \
the `docker-compose.yaml` file and rebuild the image.

```
build:
context: ./clang
target: dev <--- HERE
```