This repository contains all the logic required to be able to run the 42's Norminette program in a Docker container. This way, you can check your programs without installing anything.
Note 1: This repository was created with 42 projects in mind.
Note 2: The container is deleted when you exit, so no need to manage anything!
Add the following alias to your .zshrc
or .bashrc
file:
- Linux:
alias norminette="docker run --rm -v $(pwd):/docker jkutkut/docker4norminette:latest"
- MacOS:
alias norminette="docker run --rm -v $(PWD):/docker jkutkut/docker4norminette:latest"
Note: That's it! There is no need to install anything else (except Docker, of course).
- Linux:
docker run --rm -v $(pwd):/docker jkutkut/docker4norminette:latest
- MacOS:
docker run --rm -v $(PWD):/docker jkutkut/docker4norminette:latest
Keep in mind that the specific folder should be inside the current directory. If you want to check other directory, replace $(pwd)
with the path to the directory you want to check.
- Linux:
docker run --rm -v $(pwd):/docker jkutkut/docker4norminette:latest <path>
- MacOS:
docker run --rm -v $(PWD):/docker jkutkut/docker4norminette:latest <path>
You can specify the version of the container you desire by replacing latest
with the version you want. Check the releases to see all the available versions.
- Container OS:
Alpine 3.17
- Python version:
3.11.3
- Norminette version:
3.3.51