feat: Added debian dockerfile. (Thanks Ale.)

This commit is contained in:
sergiotarxz 2021-01-11 14:06:28 +01:00
parent 840f022b84
commit 386ca32b5e
Signed by: sergiotarxz
GPG Key ID: E5903508B6510AC2
1 changed files with 24 additions and 0 deletions

24
Dockerfile Normal file
View File

@ -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" ]