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

Docker test build workflow is broken #96

Open
zeldin opened this issue Jun 30, 2020 · 8 comments
Open

Docker test build workflow is broken #96

zeldin opened this issue Jun 30, 2020 · 8 comments

Comments

@zeldin
Copy link
Member

zeldin commented Jun 30, 2020

The Docker does not install libgmp-dev, so the build always bails out immediately...

@miigotu
Copy link
Member

miigotu commented Jul 1, 2020

Yep I know, took a break from it because it was irritated with it lol

@miigotu
Copy link
Member

miigotu commented Jul 2, 2020

It actually does install libgmp-dev (and also trying with libgmp3-dev meta package) and it still fails and i cant figure out why.

@miigotu
Copy link
Member

miigotu commented Jul 2, 2020

I got it building just having an issue with pushing it now. Not sure if pkg.github.com likes multi-arch manifests, and I dont have rights to add a secret key for hib.docker.com login here on ps3dev.

Ill make some more attempts.

The problem that whole time was i386 not passing check-gmp for some reason even if it was installed.

@miigotu
Copy link
Member

miigotu commented Mar 20, 2021

Wow I totally forgot it wasn't working. check-gmp just isn't finding the headers on xenial (libgmp-dev is installed)
Working on it now.

Do you think I should change the base image from xenial to focal and get it building there? I think current LTS should always be our target if using ubuntu.

@zeldin
Copy link
Member Author

zeldin commented Mar 20, 2021

Well, https://github.com/ps3dev/ps3dev-docker is using bionic (18.04 LTS) as base image, and that seems to work well. I've also succefully used debian:10-slim.

@miigotu
Copy link
Member

miigotu commented Mar 21, 2021

I think debian 10 slim is a great option actually. I'll see if I can get that building. It's currently having a protocol error with the manifest 🤦‍♂️🙄

@zeldin
Copy link
Member Author

zeldin commented Mar 21, 2021

I just uploaded fresh builds of ps3dev-docker to docker hub based on 10-slim (the ppc64 build is based on sid-slim instead because ppc64 is currently an "unofficial" Debian port and does not get stable builds). If you agree that 10-slim is good I guess I'll push the change of base image to ps3dev-docker.

@humbertodias
Copy link

Try out ps3dev/ps3dev-docker#6
There the flow of deploying to docker hub was fixed

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

No branches or pull requests

3 participants