Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): use Ubuntu 24.04 as base image, update dependencies #422

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 14, 2024

Bumps ubuntu from 22.04 to 24.04.

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added dependencies Pull requests that update a dependency file docker Pull requests that update Docker code labels May 14, 2024
@corneliusroemer corneliusroemer force-pushed the dependabot/docker/ubuntu-24.04 branch from 8840589 to 308b034 Compare June 2, 2024 18:40
@corneliusroemer corneliusroemer changed the title build(deps): bump ubuntu from 22.04 to 24.04 build(deps): bump ubuntu from 22.04 to 23.10 Jun 2, 2024
@corneliusroemer corneliusroemer force-pushed the dependabot/docker/ubuntu-24.04 branch from 2d0e77e to 390211b Compare June 2, 2024 19:18
@corneliusroemer corneliusroemer changed the title build(deps): bump ubuntu from 22.04 to 23.10 chore(deps): use Ubuntu 24.04 as base image, update dependencies Jun 2, 2024
@corneliusroemer corneliusroemer force-pushed the dependabot/docker/ubuntu-24.04 branch from 80fa359 to 071d3b1 Compare June 2, 2024 23:39
@corneliusroemer corneliusroemer force-pushed the dependabot/docker/ubuntu-24.04 branch 6 times, most recently from 8c4943e to 3585233 Compare June 3, 2024 02:32
corneliusroemer added a commit to loculus-project/loculus that referenced this pull request Jun 3, 2024
@corneliusroemer corneliusroemer force-pushed the dependabot/docker/ubuntu-24.04 branch from 3585233 to 98298ef Compare June 3, 2024 02:59
@corneliusroemer
Copy link
Contributor

I have a gutfeeling that performance of the ubuntu based image is much better than of the alpine one. I haven't benchmarked, maybe someone can have a go?

&& cp build/silo_test . \
&& cp build/siloApi .


FROM alpine:3.18 AS server
FROM ubuntu:24.04 AS server
Copy link
Member

Choose a reason for hiding this comment

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

@corneliusroemer, I think that it is better to use small images with as few dependencies as possible to reduce the surface for potential security vulnerabilities.

Copy link
Collaborator

Choose a reason for hiding this comment

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

I have no strong feelings about this. But I have it on my TO-DO list now, to benchmark the actual images against one another in the next weeks!

@Taepper
Copy link
Collaborator

Taepper commented Jul 19, 2024

It turns out that @corneliusroemer was right, I ran the simple benchmark to test preprocessing speeds (used for #509):

run the binary directly: 00:00:27.433
run the alpine docker: 00:02:21.639
run the ubuntu docker: 00:00:34.433

@corneliusroemer
Copy link
Contributor

Hah! I don't know what I based my gutfeeling on - but I remember with Nextclade we got much worse multi-threading performance with musl (libc in Alpine) compared to glibc (Ubuntu).

See e.g.: https://news.ycombinator.com/item?id=38616023

@Taepper
Copy link
Collaborator

Taepper commented Aug 6, 2024

Done in #519

@Taepper Taepper closed this Aug 6, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Aug 6, 2024

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/docker/ubuntu-24.04 branch August 6, 2024 08:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file docker Pull requests that update Docker code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants