ustreamer icon indicating copy to clipboard operation
ustreamer copied to clipboard

Official Docker images

Open PascalHonegger opened this issue 4 years ago • 2 comments

Given the popularity of docker it would be really nice if you're able to simply run ustreamer with a one-line docker command without installing anything. Here are a few points which would have to be done in order to achieve said goal:

  • [x] Create Dockerfile / .dockerignore
  • [x] Ensure Dockerfile supports multiple architectures (amd64, armv7, ...)
  • [ ] Automatically build and tag new versions, for example using GitHub Actions and buildx
  • [x] Add tagged build with Raspberry Pi OMX / GPIO support
  • [ ] Update documentation

PascalHonegger avatar Aug 17 '20 15:08 PascalHonegger

The latest versions of ustreamer use libgpiod, which is available on all platforms include x86_64.

mdevaev avatar Sep 22 '20 15:09 mdevaev

in the meantime i have already built a docker container for myself, for all who are interested

"https://hub.docker.com/repository/docker/badsmoke/ustreamer"

arch = amd64

badsmoke avatar Jan 30 '21 09:01 badsmoke

https://github.com/pikvm/ustreamer/pull/177 with this status is as follow

  • [x] Create Dockerfile / .dockerignore
  • [x] Ensure Dockerfile supports multiple architectures (amd64, armv7, ...)
  • [x] Automatically build and tag new versions, for example using GitHub Actions and buildx
  • [ ] Add tagged build with Raspberry Pi OMX
  • [x] GPIO support
  • [x] Update documentation

tomaszduda23 avatar Oct 09 '22 13:10 tomaszduda23

@mdevaev do you have any plan to make docker image public on dockerhub?

tomaszduda23 avatar Nov 13 '22 17:11 tomaszduda23

What do I need to do for this?

mdevaev avatar Nov 13 '22 17:11 mdevaev

It seems that image is uploaded when you create new tag but repository is private on dockerhub. You can change it in repository settings 'make public'. Do you use pikvm/ustreamer in dockerhub?

tomaszduda23 avatar Nov 13 '22 18:11 tomaszduda23

Hm, it was pushed to https://hub.docker.com/repository/docker/mdevaev/ustreamer

mdevaev avatar Nov 14 '22 00:11 mdevaev

https://github.com/pikvm/ustreamer/commit/1ff021d9aca93fa9eb4175e600909cf1a8315ea5 this could be changed here. Do you own pikvm name? I'm not able to check who is the owner of that.

tomaszduda23 avatar Nov 14 '22 15:11 tomaszduda23

Yes, I don't know why it's not working :/

mdevaev avatar Nov 14 '22 15:11 mdevaev

secrets.DOCKERHUB_USERNAME <- the name is taken from this so you can change it or merge https://github.com/pikvm/ustreamer/pull/189. I'm not able to test it myself though.

tomaszduda23 avatar Nov 14 '22 16:11 tomaszduda23

https://hub.docker.com/r/pikvm/ustreamer/tags

mdevaev avatar Dec 27 '22 16:12 mdevaev