33 lines
932 B
Docker
33 lines
932 B
Docker
# Author: @ale@ale.manalejandro.com Fixes by: Sergiotarxz. LICENSE: AGPLv3
|
|
|
|
FROM debian:sid
|
|
COPY branch /
|
|
RUN apt update
|
|
RUN apt install -y git
|
|
RUN git clone https://gitea.sergiotarxz.freemyip.com/sergiotarxz/Peertube-dl peertube-dl
|
|
WORKDIR /peertube-dl
|
|
RUN git checkout -b $(cat /branch)
|
|
RUN apt dist-upgrade -y
|
|
RUN apt -y install perl
|
|
RUN apt -y install build-essential
|
|
RUN apt -y install libwww-perl
|
|
RUN apt -y install liburi-encode-perl
|
|
RUN apt -y install libjson-perl
|
|
RUN apt -y install liblwp-protocol-https-perl
|
|
RUN apt -y install libtest-mockobject-perl
|
|
RUN apt -y install libtest-most-perl
|
|
RUN apt -y install libmojolicious-perl
|
|
RUN apt -y install libfile-mimeinfo-perl
|
|
RUN apt -y install cpanminus
|
|
RUN apt -y install duktape-dev
|
|
RUN apt -y install yarn
|
|
RUN apt -y install libconst-fast-perl
|
|
RUN apt clean
|
|
RUN perl Makefile.PL
|
|
RUN make
|
|
RUN make test
|
|
RUN make install
|
|
|
|
EXPOSE 3000/tcp
|
|
ENTRYPOINT [ "peertube-dl-web" ]
|