nichobi / sponsorblockcast

A shell script that skips sponsored YouTube content on all local Chromecasts
GNU General Public License v3.0
348 stars 16 forks source link

Docker Support #8

Closed Ceralor closed 3 years ago

Ceralor commented 3 years ago

Adding a Dockerfile using the Alpine image. Currently this results in a 24.6 MB Docker image using Alpine and using native binaries when possible. Dockerfile finds latest binary build release from go-chromecast and downloads into image. Can change GC_BUILD build-arg at build time to build for a different platform such as a Raspberry Pi.

Ceralor commented 3 years ago

I'd accept #7 first before accepting this one, accidentally created my Docker branch with the other fix included.

nichobi commented 3 years ago

Awesome, thank you so much for contributing! Would you mind perhaps adding it to the installation instructions in the README? Doesn't have to be much, just some basic instructions under a Docker subheading beneath the Arch one.

Ceralor commented 3 years ago

Updated with some information for installing and using Docker or Docker Compose, and added to the configuration section for adjusting environment variables for either.

nichobi commented 3 years ago

Perfect, merged. Again, thank you very much for your contributions!