clusterfuzzlite icon indicating copy to clipboard operation
clusterfuzzlite copied to clipboard

Update Dockerfile base from ubuntu 20.04?

Open juju4 opened this issue 6 months ago • 6 comments

I'm working on integrating a python project (https://github.com/JustinGuese/python-openobserve/pull/37) with clusterfuzzlite but getting error

INFO: pip is looking at multiple versions of python-openobserve to determine which version is compatible with other requirements. This could take a while.
ERROR: Package 'python-openobserve' requires a different Python: 3.8.3 not in '>3.9'

This comes from Dockerfile being based on Ubuntu 20.04 which is EOL. Any plan to update to 24.04 LTS? https://hub.docker.com/layers/cnzf/gcr.io/oss-fuzz-base.base-clang.latest/images/sha256-ebd50868664437c11f3f72e99c036b53b00f5dcc7e2319e83927b31d7a329e7a https://hub.docker.com/layers/cnzf/gcr.io/oss-fuzz-base.base-runner-debug.latest/images/sha256-9d2bd7b29359b9432dd12e285fc3069289332026c4660dbe0fff6bb56e1ea158 https://hub.docker.com/u/cnzf aka no updates for 4 months https://github.com/google/oss-fuzz/blob/master/infra/base-images/base-builder/Dockerfile

If there is another image to use, documentation should be updated - https://google.github.io/clusterfuzzlite/build-integration/python-lang/

Thanks

juju4 avatar Jun 22 '25 18:06 juju4

Found pending PR from Feb https://github.com/google/oss-fuzz/pull/13018

juju4 avatar Jun 29 '25 19:06 juju4

That was replaced with https://github.com/google/oss-fuzz/pull/13942 and since been merged.

Sjors avatar Oct 27 '25 15:10 Sjors

It would be great to have a v2 tag with a more recent toolchain. I eventually managed to build one myself and it made my life a lot easier in https://github.com/Sjors/sv2-tp/pull/53.

Sjors avatar Oct 27 '25 21:10 Sjors

It also came up https://github.com/google/oss-fuzz/pull/14264#issuecomment-3512400341 (along with CIFuzz). They are both kept in https://github.com/google/oss-fuzz/tree/master/infra/cifuzz so generally projects using CIFuzz and/or ClusterFuzzLite can't switch to Ubuntu 24.04 yet.

evverx avatar Nov 12 '25 16:11 evverx

The ubuntu-24-04 images are available now that https://github.com/google/oss-fuzz/pull/14382 is merged but the action needs tweaking. I used https://github.com/evverx/clusterfuzzlite/commit/0477702f5a180ffea7355dc0f00a2ef816a75aec to get it to work.

evverx avatar Dec 02 '25 02:12 evverx

https://github.com/google/clusterfuzzlite/pull/146 should make it possible to use Ubuntu 24.04 without kludges.

evverx avatar Dec 03 '25 14:12 evverx