mit-dci / opencbdc-tx

A transaction processor for a hypothetical, general-purpose, central bank digital currency
Other
891 stars 200 forks source link

fix: update docker base image to ubuntu 22.04 #252

Closed HalosGhost closed 4 months ago

HalosGhost commented 4 months ago

Having migrated to C++20, we ran into a version of https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100346

By migrating to a more recent Ubuntu image, we benefit from more recent compiler versions which avoid the build errors.

The additional library linkages for the benchmarks seem to have become required on some platforms in addition.

HalosGhost commented 4 months ago

cf. https://github.com/mit-dci/opencbdc-tx/pull/252#discussion_r1520012001 for my reasoning for leaving this in in this PR; once we've finished vetting that it won't break any other tooling we have (most obviously the TC), I'd be happy to accept a PR to remove it.