Skip to content
Snippets Groups Projects
Commit 0ae42b8d authored by nimrod's avatar nimrod
Browse files

youtube-dl image.

I want to run it remotely on my Kodi.
parent 503ba3d8
No related branches found
No related tags found
No related merge requests found
Pipeline #2647 passed
......@@ -163,3 +163,19 @@ push-nginx:
needs:
- job: build-nginx
artifacts: true
# youtube-dl image:
build-youtube-dl:
extends: .container-build
variables:
CONTEXT: youtube-dl
push-youtube-dl:
extends: .container-push
variables:
CONTEXT: youtube-dl
IMAGE: youtube-dl
needs:
- job: build-youtube-dl
artifacts: true
......@@ -40,7 +40,7 @@ repos:
hooks:
- id: proselint
types: [plain-text]
exclude: LICENSE
exclude: LICENSE|youtube-dl
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.26.3
......
*
FROM docker.io/library/debian:testing
# hadolint ignore=DL3008,DL3015
RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y \
youtube-dl \
&& \
rm -rf /tmp/* /var/tmp/* /var/lib/apt/lists/* /var/cache/apt/archives/*
ENTRYPOINT ["/usr/bin/youtube-dl"]
# youtube-dl
Container image that has youtube-dl and the recommended utilities from Debian.
## Usage
```
docker run -it --rm -u "$(id -u):$(id -g)" -v "$PWD:$PWD" -w "$PWD" registry.shore.co.il/youtube-dl -h
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment