gluon icon indicating copy to clipboard operation
gluon copied to clipboard

Dockerfile: update base to ubuntu:jammy

Open mweinelt opened this issue 2 years ago • 6 comments

Among other things git branch --show-current from scripts/update-modules.sh didn't work with the git version (2.20.x) in buster, because it requires 2.22.0.

localhost/gluon docker-base 6d337bc0846e 4 seconds ago 451 MB

mweinelt avatar Mar 27 '22 00:03 mweinelt

ERROR: package/firmware/wireless-regdb failed to build. make -r world: build failed. Please re-run make with -j1 V=s or V=sc for a higher verbosity level to see what's going on

Uh-oh. Investigating.

mweinelt avatar Mar 27 '22 00:03 mweinelt

libfakeroot: read: Connection reset by peer
libfakeroot: connect: Connection refused
/gluon/openwrt/staging_dir/host/bin/fakeroot: line 1: kill: (355020) - No such process
make[4]: *** [modules/i2c.mk:101: /gluon/openwrt/bin/targets/x86/64/packages/kmod-i2c-gpio_5.4.182-1_x86_64.ipk] Error 1
make[4]: Leaving directory '/gluon/openwrt/package/kernel/linux'
time: package/kernel/linux/compile#7.79#5.04#17.37
    ERROR: package/kernel/linux failed to build.
make[3]: *** [package/Makefile:116: package/kernel/linux/compile] Error 1

mweinelt avatar Mar 27 '22 00:03 mweinelt

Why not bullseye? It has 2.30

skorpy2009 avatar Apr 04 '22 21:04 skorpy2009

Because with bullseye the image grows to over 900 MB due to silly dependencys in qemu-utils pulling in the whole qemu stack.

mweinelt avatar Apr 04 '22 22:04 mweinelt

Because with bullseye the image grows to over 900 MB due to silly dependencies in qemu-utils pulling in the whole qemu stack.

IIRC, that was the reason against Ubuntu impish. The reason for using Ubuntu rather than Debian is to keep the Docker image similar to the Github Actions environment.

neocturne avatar Apr 04 '22 22:04 neocturne

You might be right, I might be mixing stuff up. Let me check.

localhost/gluon docker-base 69fcac9fbf0e 10 seconds ago 545 MB

up from ~450 MB from ubuntu:jammy and 415MB from debian:buster-slim..

mweinelt avatar Apr 04 '22 22:04 mweinelt