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

Use official Gluon Docker containers for building #326

Open
grische opened this issue Dec 7, 2023 · 3 comments
Open

Use official Gluon Docker containers for building #326

grische opened this issue Dec 7, 2023 · 3 comments

Comments

@grische
Copy link
Contributor

grische commented Dec 7, 2023

There are a set of official docker containers for Gluon building:
https://github.com/freifunk-gluon/gluon/pkgs/container/gluon-build

We are doing something similar already and should deprecate ours in favour of the upstream version:
https://github.com/freifunkMUC/site-ffm/blob/stable/Dockerfile_build

Additionally, we should use either jobs.<job_id>.container to use the container directly, or simply do a docker run like described in the README.md

docker run --rm -v $(pwd):/site-ffm:ro -v $(pwd)/gluon-build:/site-ffm/gluon-build:rw -v $(pwd)/output:/site-ffm/output:rw -w /site-ffm -u $UID site-ffm-stable make V=s GLUON_TARGETS=lantiq-xrx200 |& tee logs/build_lantiq-xrx200_$(date --iso=s).log
@grische grische added this to Firmware Dec 7, 2023
@grische grische converted this from a draft issue Dec 7, 2023
@T0biii
Copy link
Member

T0biii commented Apr 5, 2024

I tried to use the upstream Docker Version.
for one Target it works just fine:
https://github.com/T0biii/site-ffm/actions/runs/8561992224
But with all targets it failes because of Storage
https://github.com/T0biii/site-ffm/actions/runs/8550385054

@grische
Copy link
Contributor Author

grische commented Jun 7, 2024

I also didn't get it to work. On my side, it fails for the checkout already: https://github.com/grische/site-ffm/actions/runs/9419823786/job/25950503438

@T0biii
Copy link
Member

T0biii commented Jun 7, 2024

I also didn't get it to work. On my side, it fails for the checkout already: grische/site-ffm/actions/runs/9419823786/job/25950503438

wierd error tbh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo
Development

No branches or pull requests

2 participants