- You must have Docker and Git installed on your system.
The first step is to clone the project repository.
git clone https://github.com/brpaz/yt-dlp-docker
cd yt-dlp-docker
This project requires a couple of dev tools, for a streamlined developer experience, like:
- Task - Task runner. A modern alternative to make
- lefthook - Fast and powerful Git hooks manager for any type of projects.
- hadolint - Dockerfile linter, validate inline bash-
- GoogleContainerTools/container-structure-test - validate the structure of your container images
- Trivy - The all-in-one open source security scanner
Some tools like container-structure-tests and trivy are configured be be run using docker. Task, Hadolint and Lefthook, you should install these locally.
The recommended way is to use Devbox, to create a isolated development envrionment, based on Nix.
To install devbox run:
curl -fsSL https://get.jetpack.io/devbox | bash
Then you can run devbox shell
which will create a nix envrionment, containing the base tools required by this project.