Sign in before continuing.
Install libpq-devel and copy to final image
Summary
libpq-devel is being installed in the builder, but is not being copied over properly to the final image. After inspecting the Dockerfile, it looks that way for other packages as well like sqlite.
Steps to reproduce
Tried to use the image, and it said libpq-devel was not installed. See pipeline build job https://code.il2.dso.mil/platform-one/devops/hello-pipeline/rails-world/-/jobs/1541416
LoadError: libpq.so.5: cannot open shared object file: No such file or directory - /builds/platform-one/devops/hello-pipeline/rails-world/vendor/bundle/ruby/2.7.0/gems/pg-1.2.3/lib/pg_ext.so
What is the current bug behavior?
(What actually happens)
What is the expected correct behavior?
(What you should see instead)
Relevant logs and/or screenshots
See pipeline build job https://code.il2.dso.mil/platform-one/devops/hello-pipeline/rails-world/-/jobs/1541416
LoadError: libpq.so.5: cannot open shared object file: No such file or directory - /builds/platform-one/devops/hello-pipeline/rails-world/vendor/bundle/ruby/2.7.0/gems/pg-1.2.3/lib/pg_ext.so
Possible fixes
(If you can, link to the line of code that might be responsible for the problem)
Defintion of Done
-
Bug has been identified and corrected within the container
/cc @ironbank-notifications/bug
Edited by Ejay Tumacder