Docker Community Forums

Share and learn in the Docker community.

Gitlab Runner - Trouble setting up environment for CI/CD Pipeline

I’m having some difficulty getting the Docker container set up.

I wrote a Dockerfile and two scripts (one for installing packages, one for attempting to build), but the issue I keep running into is that it looks for the filesystem library provided by gcc-9, but can’t find it. This is despite the fact that I install it, and in the output logs, make sure that it installs without issue.

I am going to place these Dockerfile and scripts here, let me know if you have any questions.

Dockerfile

Build Script

I am using the gitlab/gitlab-runner container as the image to build the new docker image. I would like to know why I can’t seem to get gcc installed correctly, and what I can do in order to set it up for CI/CD Pipelines.