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

Dockerfile #335

Closed
Granjow opened this issue Nov 16, 2022 · 6 comments
Closed

Dockerfile #335

Granjow opened this issue Nov 16, 2022 · 6 comments

Comments

@Granjow
Copy link

Granjow commented Nov 16, 2022

Hi guys,

thanks for this wonderful plugin.

Unfortunately it is currently a pain to get running on Ubuntu (Python 3.10+ compatibility missing) and an even bigger pain to get it running in a CI pipeline without X server, so I created a Docker image for that:

https://hub.docker.com/r/granjow/kicad-interactive-html-bom

If you are interested, I can add it to the project in a pull request.

Thanks,
Simon

@qu1ck
Copy link
Member

qu1ck commented Nov 16, 2022

About X server see https://github.com/openscopeproject/InteractiveHtmlBom/wiki/Tips-and-Tricks

And what's wrong with python 3.10 compatibility?

@Granjow
Copy link
Author

Granjow commented Nov 17, 2022

Oh, so somebody else has run into the issue already :) The docker image is not quite documented though and no sources available. I would add the Dockerfile to this project so everybody can modify it according to their needs. (Also based on Python 3 and KiCad 6.0, the solution in the wiki probably would not process 6.0 files anymore.)

wxPython did not build here with Python 3.11 as described in wxWidgets/Phoenix#2296, but I checked again and it was because I still had attrdict installed after installing attrdict3. Without attrdict it builds fine.

@qu1ck
Copy link
Member

qu1ck commented Nov 17, 2022

I can add your dockerfile to wiki but I don't think it should be in the tree itself.
Also you chose the hard way with xvfb, if you use the environment variable your image will be much smaller.

@Granjow
Copy link
Author

Granjow commented Feb 4, 2023

Can you add a link to it? The repo is here:
https://git.granjow.net/escape/rnd/docker-interactive-bom

Thanks!

@qu1ck
Copy link
Member

qu1ck commented Feb 6, 2023

Done

@qu1ck qu1ck closed this as completed Feb 6, 2023
@set-soft
Copy link
Contributor

set-soft commented Feb 6, 2023

BTW: KiBot docker images (and GitHub action) contains iBoM (I think since 2020).

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

No branches or pull requests

3 participants