-
Notifications
You must be signed in to change notification settings - Fork 888
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
Provide 'official' docker images for yosys, nextpnr and icestorm #1287
Comments
Since these are all packaged in nixpkgs, I think that Nixery should already provide this as something like (edit: ah, unfortunately Nixery tracks the stable NixOS branch by default and the versions in |
@emilazy, thanks for the reference! I didn't know about Nixery. I tried As you said, it is not the solution I want, because I'd like to use latest/development version. Nonetheless, I think that any section about Docker in the docs should mention it. BTW, do you know why ghdl is not available in nixpkgs? There are some 'old' commits (https://github.com/NixOS/nixpkgs/search?q=ghdl&type=Commits), but |
Closing in favour of hub.docker.com/u/yosyshq and hdl/containers. |
Refs: #466, #829, #1152 and #1285.
Although there are multiple docker images available (https://hub.docker.com/search?q=yosys&type=image), AFAIK there is no 'official' one which is built in some CI service managed by the maintainers of this repo/org.
@cliffordwolf mentioned https://hub.docker.com/r/openfpga/icetools in #466, but it seems that the WIP did not take off.
In #1285, a job is added to Travis, where an image containing yosys is built. It would be straightforward to add two more dockerfiles/images for nextpnr and icestorm.
However, the namespace in a docker registry needs to be managed, and some credentials are needed in order to push docker images from travis to dockerhub. Note that a 'machine' or 'bot' account can be used.
For example, projects ghdl and VUnit, both have separate repos for this purpose: ghdl/docker, VUnit/docker. Precisely, this request is related to ghdl/ghdl-yosys-plugin#31.
Furthermore, it'd be possible to provide multiarch images (e.g. amd64, arm32v7 and arm64v8), so ready-to-use containers are available for any user running GNU/Linux, Windows macOs, SBCs, etc. See dbhi/qus.
Note that, for now, iceprog
wouldmight still be required on the host. On GNU/Linux, it isprobablypossible to let a container configure an FPGA through USB/FTDI;but I don't expect it to work onfor Windows or macOS, see https://github.com/ghdl/docker/tree/master/usbip./cc @q3k
The text was updated successfully, but these errors were encountered: