42School / norminette

Official 42 norminette
MIT License
956 stars 140 forks source link

fix(docker): Fix dockerfile poetry installation #502

Closed Ourobore closed 4 months ago

Ourobore commented 4 months ago

The previous PR https://github.com/42School/norminette/pull/500 changes had a problem with the Dockerfile where poetry couldn't be installed.

The fix was either to keep the -alpine version of Python, but install gcc, libc-dev and libggi-dev to be able to install poetry, or use the -slim that already had everything it needed.

I chose the "change the image" option, because in the end the final image was lighter (283MB vs 350MB)