Error in gitlab-ci trying to install the mkdocs library

The CI/CD process throw an error trying to install the library of mkdocs in the step of:

pip install mkdocs

This error happens because the docker image of python:alpine have the minimal resources and the gcc library is not included.

Solution

Change the docker image to python:3.6-buster