QuickLogic-Corp / quicklogic-fpga-toolchain

Open Source FPGA toolchain and documentation for QuickLogic devices and eFPGA IP
https://quicklogic-quicklogic-fpga-toolchain.readthedocs-hosted.com/en/latest/index.html
Apache License 2.0
36 stars 8 forks source link

Create account on hub.docker.com for Docker container images #40

Closed Thirsty2 closed 3 years ago

Thirsty2 commented 3 years ago

Publishing the images on Docker Hub allows pulling them without using longer (sometimes awkward) URLs. If we publish an image named symbiflow-ql to Docker hub, anyone (or any machine building downstream docker images) can use simple URLs like:

docker run -it --rm -v $(pwd):/root/work symbiflow-ql:1.3.0 bash

or at the start of a Dockerfile:

FROM symbiflow-ql:1.3.0

It is possible to use URLs like this already, but only if a user has locally tagged an image as symbiflow-ql:1.3.0. In order to use a prebuilt package from github, you need a longer and awkward url that is more difficult to remember, and you need to be authenticated as a github user. The above become:

docker run -it -rm -v $(pwd):/root/work docker.pkg.github.com/quicklogic-corp/quicklogic-fpga-toolchain/symbiflow-ql:1.3.0 bash

and

FROM docker.pkg.github.com/quicklogic-corp/quicklogic-fpga-toolchain/symbiflow-ql:1.3.0

and these only work for users who are authenticated with github.

kkumar23 commented 3 years ago

@Thirsty2 : right will create a separate account. Will plan for that. Is docker supported in RHEL ? I do not see docker install on RHEL.https://docs.docker.com/engine/install/ . On Ubuntu I could run.

Thirsty2 commented 3 years ago

I believe Docker is supported on recent versions of RHEL. I have not tried it personally.

Doug

Sent from my iPhone

On Dec 1, 2020, at 07:50, kkumar23 notifications@github.com wrote:

 @Thirsty2 : right will create a separate account. Will plan for that. Is docker supported in RHEL ? I do not see docker install on RHEL.https://docs.docker.com/engine/install/ . On Ubuntu I could run.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

whatnick commented 3 years ago

This can be easily done in GitHub actions with this pre-built one : https://github.com/marketplace/actions/build-docker-images-using-cache

Better still we can push to all registries.

kkumar23 commented 3 years ago

We are not planning to publish docker images for now.