A C development docker environment. (norminette
& 42Header for vim
included!)
- git
- vim
- tmux
- curl
- cmake
- gdb
- valgrind 3.21.0
- norminette
- 42 Header for
vim
- helios custom tools
- gtest
- francinette
- python3-pip
- python3-venv
Ensure that docker is installed beforehand. More information on installing docker could be found here.
Update username
in config/vimrc
to your own username, which would be used in the 42Header when inserted via vim
.
...
let g:user42 = '[YOUR_USERNAME]'
let g:mail42 = '[YOUR_USERNAME]@student.42.fr'
...
Next, ensure that the scripts are executable.
cd 42_devctr
sudo chmod +x build.sh
sudo chmod +x run_devctr.sh
Build the docker image via build.sh
. It would take some time to build the image.
cd 42_devctr
./build.sh
Enter the directory to be checked:
cd <your_directory_to check>
After that, run checkme
:
checkme
Once the build has been completed, run the container via run_devctr.sh
.
cd 42_devctr
./run_devctr.sh
Tip: To exit the docker image, run
exit
.
The workspace
directory would be attached to the docker container when running, which contains sample file/structure of how you could import you project into docker. Feel free to add or remove the files inside.