commit 5fcd5733357cb47136e16c60bb6b31a153c0fc71 Author: sergiotarxz Date: Tue Jan 19 20:36:58 2021 +0100 Pushing the Dockerfile on a separate project. diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..358a41f --- /dev/null +++ b/Dockerfile @@ -0,0 +1,32 @@ +# 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" ] diff --git a/branch b/branch new file mode 100644 index 0000000..1f7391f --- /dev/null +++ b/branch @@ -0,0 +1 @@ +master