We need to set a company proxy to reach the internet from within our network. This is needed for the build-process (to fetch dependencies).
I have added the appropriate lines into
/etc/bash.bashrc in our docker image.
When manually running the image with:
docker run --rm -ti bboss/python:3 /bin/bash
and then executing
I can see the variables.
However, when I define a GitLab CI task based on that image and add a section like:
test-job: script: - export
I don't see any variables.
It seems like the entries in
/etc/bash.bashrc are not taken into consideration.
How can I make that work?