{"id":15779522,"url":"https://github.com/jim60105/docker-streamlink","last_synced_at":"2025-03-31T15:53:30.515Z","repository":{"id":220829156,"uuid":"740666749","full_name":"jim60105/docker-streamlink","owner":"jim60105","description":"This is the docker image for streamlink from the community. (Dockerfile, CI image build and test)","archived":false,"fork":false,"pushed_at":"2024-02-04T15:25:43.000Z","size":27,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-02-04T17:37:08.594Z","etag":null,"topics":["docker","docker-image","dockerfile","recording","streamlink","twitch"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jim60105.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-01-08T20:17:25.000Z","updated_at":"2024-04-15T14:07:57.633Z","dependencies_parsed_at":null,"dependency_job_id":"14c457c7-221f-48d5-b635-02167f58887a","html_url":"https://github.com/jim60105/docker-streamlink","commit_stats":null,"previous_names":["jim60105/docker-streamlink"],"tags_count":4,"template":false,"template_full_name":"jim60105/Dockerfile-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jim60105%2Fdocker-streamlink","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jim60105%2Fdocker-streamlink/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jim60105%2Fdocker-streamlink/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jim60105%2Fdocker-streamlink/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jim60105","download_url":"https://codeload.github.com/jim60105/docker-streamlink/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246492071,"owners_count":20786300,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","docker-image","dockerfile","recording","streamlink","twitch"],"created_at":"2024-10-04T18:20:23.423Z","updated_at":"2025-03-31T15:53:30.490Z","avatar_url":"https://github.com/jim60105.png","language":"Dockerfile","readme":"# docker-streamlink\n\n[![CodeFactor](https://www.codefactor.io/repository/github/jim60105/docker-streamlink/badge?style=for-the-badge)](https://www.codefactor.io/repository/github/jim60105/docker-streamlink) [![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/jim60105/docker-streamlink/scan.yml?label=IMAGE%20SCAN\u0026style=for-the-badge)](https://github.com/jim60105/docker-streamlink/actions/workflows/scan.yml)\n\nThis is the docker image for [Streamlink: A CLI utility which pipes video streams from various services into a video player.](https://github.com/streamlink/streamlink) from the community.\n\nGet the Dockerfile at [GitHub](https://github.com/jim60105/docker-streamlink), or pull the image from [ghcr.io](https://ghcr.io/jim60105/streamlink) or [quay.io](https://quay.io/repository/jim60105/streamlink?tab=tags).\n\n## Usage Command\n\nMount the current directory as `/download` and run Streamlink with additional input arguments.  \nThe downloaded files will be saved to where you run the command.\n\n```bash\ndocker run -it -v \".:/download\" ghcr.io/jim60105/streamlink:alpine --progress force --output \"{id}.ts\" [options] [url] best\n```\n\nThe `[options]`, `[url]` placeholder should be replaced with the options and arguments for Streamlink. Check the [Streamlink README](https://github.com/streamlink/streamlink?tab=readme-ov-file#-quickstart) for more information.\n\nYou can find all available tags at [ghcr.io](https://github.com/jim60105/docker-streamlink/pkgs/container/streamlink/versions?filters%5Bversion_type%5D=tagged) or [quay.io](https://quay.io/repository/jim60105/streamlink?tab=tags).\n\n## Building the Docker Image\n\n### Dockerfiles\n\nThis repository contains four Dockerfiles for building Docker images based on different base images:\n\n| Dockerfile                                     | Base Image                                                                                                                         |\n|------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------|\n| [Dockerfile](Dockerfile)                       | [Alpine official image](https://hub.docker.com/_/alpine/)                                                                          |\n| [alpine.Dockerfile](alpine.Dockerfile)         | [Python official image 3.12-alpine](https://hub.docker.com/_/python/)                                                              |\n| [ubi.Dockerfile](ubi.Dockerfile)               | [Red Hat Universal Base Image 9 Minimal](https://catalog.redhat.com/software/containers/ubi9/ubi-minimal/615bd9b4075b022acc111bf5) |\n| [distroless.Dockerfile](distroless.Dockerfile) | [distroless-python](https://github.com/alexdmoss/distroless-python)                                                                |\n\n### Build Arguments\n\nThe [alpine.Dockerfile](alpine.Dockerfile), [ubi.Dockerfile](ubi.Dockerfile), ans [distroless.Dockerfile](distroless.Dockerfile) are built using a build argument called `BUILD_VERSION`. This argument represents [the release version of streamlink](https://github.com/streamlink/streamlink/tags), such as `6.5.0` or `6.4.2`.\n\nIt is important to note that the [Dockerfile](Dockerfile) always builds with [the latest apk package source](https://pkgs.alpinelinux.org/package/edge/community/aarch64/streamlink), so it can't set the build version explicitly.\n\n\u003e [!NOTE]\n\u003e\n\u003e - The apk edge branch follows the latest release of streamlink.\n\u003e - The `alpine.Dockerfile` installs streamlink from pip source, so the image size may slightly different compared to the `Dockerfile` even when they have the same version.\n\n### Build Command\n\n```bash\ndocker build -t streamlink .\ndocker build --build-arg BUILD_VERSION=6.10.0 -f ./alpine.Dockerfile -t streamlink:alpine .\ndocker build --build-arg BUILD_VERSION=6.10.0 -f ./ubi.Dockerfile -t streamlink:ubi .\ndocker build --build-arg BUILD_VERSION=6.10.0 -f ./distroless.Dockerfile -t streamlink:distroless .\n```\n\n\u003e [!TIP]\n\u003e I've notice that that both the UBI version and the Distroless version offer no advantages over the Alpine version. So _**please use the Alpine version**_ unless you have specific reasons not to. All of these base images are great, some of them were simply not that suitable for our project.\n\n\u003e [!NOTE]  \n\u003e If you are using an earlier version of the docker client, it is necessary to [enable the BuildKit mode](https://docs.docker.com/build/buildkit/#getting-started) when building the image. This is because I used the `COPY --link` feature which enhances the build performance and was introduced in Buildx v0.8.  \n\u003e With the Docker Engine 23.0 and Docker Desktop 4.19, Buildx has become the default build client. So you won't have to worry about this when using the latest version.\n\n## LICENSE\n\n\u003e [!NOTE]  \n\u003e The main program, [streamlink/streamlink](https://github.com/streamlink/streamlink), is distributed under [BSD-2-Clause license](https://github.com/streamlink/streamlink/blob/master/LICENSE).  \n\u003e Please consult their repository for access to the source code and licenses.  \n\u003e The following is the license for the Dockerfiles and CI workflows in this repository.\n\n\u003cimg src=\"https://github.com/jim60105/docker-streamlink/assets/16995691/2ab416c6-7f51-47d7-a8f3-d2ff38074e8b\" alt=\"gplv3\" width=\"300\" /\u003e\n\n[GNU GENERAL PUBLIC LICENSE Version 3](LICENSE)\n\nThis program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along with this program. If not, see \u003chttps://www.gnu.org/licenses/\u003e.\n\n\u003e [!CAUTION]\n\u003e A GPLv3 licensed Dockerfile means that you _**MUST**_ **distribute the source code with the same license**, if you\n\u003e\n\u003e - Re-distribute the image. (You can simply point to this GitHub repository if you doesn't made any code changes.)\n\u003e - Distribute a image that uses code from this repository.\n\u003e - Or **distribute a image based on this image**. (`FROM ghcr.io/jim60105/streamlink` in your Dockerfile)\n\u003e\n\u003e \"Distribute\" means to make the image available for other people to download, usually by pushing it to a public registry. If you are solely using it for your personal purposes, this has no impact on you.\n\u003e\n\u003e Please consult the [LICENSE](LICENSE) for more details.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjim60105%2Fdocker-streamlink","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjim60105%2Fdocker-streamlink","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjim60105%2Fdocker-streamlink/lists"}