Last active
August 5, 2024 10:11
-
-
Save CarloCattano/73482a9e846e27165e85dcf32cda91ad to your computer and use it in GitHub Desktop.
42 pool Ubuntu docker development enviroment image
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:22.04 | |
ENV DEBIAN_FRONTEND=noninteractive | |
ENV NORM_VER 3.3.53 | |
WORKDIR /home/root | |
VOLUME /home/root | |
RUN apt-get update -y && \ | |
apt-get install -y lsb-release valgrind clang wget nano python3 \ | |
python3-pip build-essential cmake git curl python3-venv && \ | |
pip install norminette=="$NORM_VER" | |
#&> /dev/null && printf "\n\e[32m-----\ninstalled Norminette $NORM_VER\n\n\e[0m" | |
RUN wget https://raw.github.com/xicodomingues/francinette/master/bin/install.sh && chmod +x install.sh && \ | |
./install.sh && printf "\n\e[32m------\ninstalled Francinette\n\n\e[0m" | |
RUN printf "\n\e[32m------\n READY TO GO! \n\n\e[0m" && \ | |
printf "\n\e[32m------\n docker run -it -v \$(pwd):/home/root ubuntu\n\n\e[0m" && \ | |
printf " \e[32mTo run a terminal inside the container , enjoy\n\n\e[0m" | |
CMD ["bash"] | |
# Build : | |
# docker build -t ubuntu . | |
# Run : | |
# docker run -it -v $(pwd):/home/root ubuntu |
Thanks for sharing this Carlo!!
Thank you so much for providing this!
On my PC it only works if I run:
docker run -it -v ${PWD}:/home/root ubuntu
instead of your line.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Save this file in a folder where you want to work, it will mount that folder so you can copy your project there to run francinette on them
to build:
docker build -t ubuntu .
to run it
docker run -it -v $(pwd):/home/root ubuntu
Includes: