From 386ca32b5e42e51ca33045ea22b550f56dda81ef Mon Sep 17 00:00:00 2001 From: sergiotarxz Date: Mon, 11 Jan 2021 14:06:28 +0100 Subject: [PATCH] feat: Added debian dockerfile. (Thanks Ale.) --- Dockerfile | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..74a3f65 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,24 @@ +# Author: @ale@ale.manalejandro.com Fixes by: Sergiotarxz. LICENSE: AGPLv3 + +FROM debian:sid +COPY . /peertube-dl +WORKDIR /peertube-dl +RUN apt update && apt -y install perl \ +build-essential \ +libwww-perl \ +liburi-encode-perl \ +libjson-perl \ +liblwp-protocol-https-perl \ +libtest-mockobject-perl \ +libtest-most-perl \ +libmojolicious-perl \ +libfile-mimeinfo-perl \ +cpanminus \ +duktape-dev \ +&& apt clean \ +&& perl Makefile.PL \ +&& make \ +&& make test \ +&& make install + +ENTRYPOINT [ "peertube-dl" ]