Skip to content

Add python to base image

Can Eldem requested to merge add-python into master

What does this MR do?

Install dependencies required by node-gyp and introduces new variable DS_PYTHON_VERSION where users can switch between python 2 and 3

What are the relevant issue numbers?

https://gitlab.com/gitlab-org/gitlab-ee/issues/12296

Does this MR meet the acceptance criteria?

Please note that since default python version is 3 based on requirement we have to explicitly say we would like to use 2.7 otherwise it will fail since node-gyp is not working with python3 yet.

Tested the container in our test project with package that required to be compiled.

Edited by Can Eldem

Merge request reports