Merge pull request 'feat: Added debian dockerfile. (Thanks Ale.)' (#13) from feature/Adding_debian_dockerfile into master

Reviewed-on: https://gitea.sergiotarxz.freemyip.com/sergiotarxz/Peertube-dl/pulls/13
This commit is contained in:
sergiotarxz 2021-01-11 14:13:22 +01:00
commit 82d4ddef4f
2 changed files with 27 additions and 1 deletions

View File

@ -1 +1,3 @@
@sergiotarxz@sergiotarxz.hopto.org
@sergiotarxz:sergiotarxz.hopto.org (Matrix address.)
@ale@ale.manalejandro.com/@ale@mastodon.madrid (Fediverse accounts.)

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