Skip to content

Update package versions in Docker images.#816

Draft
VJalili wants to merge 4 commits intobroadinstitute:mainfrom
VJalili:update_docker_images
Draft

Update package versions in Docker images.#816
VJalili wants to merge 4 commits intobroadinstitute:mainfrom
VJalili:update_docker_images

Conversation

@VJalili
Copy link
Member

@VJalili VJalili commented May 27, 2025

We are updating Docker images to (a) build base-off the current latest build of Ubuntu 22.04 (22.04.5), and (b) the current latest version of some of the packages installed in the images. The goal is to minimize vulnerabilities in GATK-SV docker images, hence, the updates are scoped to only those dependencies flagged by GCP's artifact registry scan and include only the dependencies with vulnerability severity above "medium."

Comment on lines +9 to +19
# You may speed up the compilation of htslib, bcftools, and vcftools by
# parallelizing the build process. You may dynamically choose thread count
# at runtime using: -j $(nproc --all)
# However, that runs into uncommon error (maybe race condition) with the
# following error message:
# > collect2: error: ld returned 1 exit status
#
# While running with a single-thread is slower, but the process is more
# reproducible and reliable. You may override the following argument
# and be mindful of the above possible error.
ARG THREAD_COUNT="1"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In my experience, -j often leads to problems except in the simplest of projects

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Exactly, I was running into those issues, so I set the thread count to 1. But we can also remove that option altogether if we're ok with disabling parallel make.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah just take it out

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants