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
- Host: GitHub
- URL: https://github.com/pmerku/smart_work
- Owner: pmerku
- License: mit
- Created: 2020-04-22T13:21:34.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-04-22T16:34:41.000Z (about 6 years ago)
- Last Synced: 2025-02-06T13:32:45.632Z (over 1 year ago)
- Topics: development-environment, docker-compose, docker-images
- Language: Dockerfile
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
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
```