You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
My question is why does the bitbucket pipeline seem to ignore the installed package from my dockerfile in the pipeline?
I'm able to build and compile locally within the dockerfile.
RUN apt update --fix-missing
RUN apt install -y cmake gcc g++ uuid-dev
and bitbucket-pipelines.yml is
- cd Build
- cmake ..
- make -j
The dockerfile that the pipeline uses fails when cmake looks for package dependencies on uuid-dev with
Using the multi-header code from /opt/atlassian/pipelines/agent/build/path/to/header/library: UUID_LIBRARY-NOTFOUND
CMake Error at path/to/cmake/Modules/FindUUID.cmake:55 (message):
Could not find UUID library
Call Stack (most recent call first):
Configuring incomplete, errors occurred!
Although the dockerfile clearly installs the dependency since I'm able to build locally.
I found this post Docker image in Pipeline doesn't install Packages
that seems similar to my problem which the OP also links his related post on stackOverflow Here
So I'm checking the .gitignore to be safe since that seems to be his fix.
It would be great to know what is happening here and how to remedy it.
The problem ended up being that the docker image stored in the google artifact registry was not correctly being updated, therefore the pipeline was not using the correct image to run.
Solution ended up being to update the remote image correctly.