A docker image with an environment ready to code in C :D
This project aims to support people programming in C with an environment containing:
- Text editors: vim, *emacs and nano;
- Compilers: gcc, clang and make;
- Debugger: lldb and valgrind;
- Version control: git;
- There is a folder called docker_files located at
/docker_files
which is mounted at the host machine.
* if you use emacs (don't know why :D) change the srcs/deploy.sh
and uncomment the L_PKG_EMACS="emacs"
line (line 19)
comment
TO DO add an image showing a circle of how it works
comment
build image -> run a container from the image -> use docker_files folder as a bridge beteewn the container and your host machine
git clone https://github.com/juanlamarao/42_remote_dev_env
- Enter the
42_remote_dev_env
folder docker build . -t remote_42_img
First change the run_container.sh
file with your informations
bash run_container.sh
on progess..
docker exec remote_42_ctn command
-
Option 1: from the host's terminal
docker stop remote_42_ctn
-
Option 2: from the container's terminal
exit
docker rmi remote_42_img debian:buster
Fell free to help improve this environment to help others.
You can fork to make your own, but would be better if you fork it and
submmit your changes as pull requests, and help it grow :D
- check permision of the docker volume at the host; (Linux OK, Mac OK, Windows FAIL)
- improve terminal bash; (more collors and cool funcs :D) DONE
- add pt-br language (acentos);
- add support for graphical projects;
- add norminette support;
- test libft-unit_test (not working yet, something is missing?);
- test 42 header for emacs and vim;