Pushing the Dockerfile on a separate project.

This commit is contained in:
sergiotarxz 2021-01-19 20:36:58 +01:00
commit 5fcd573335
Signed by: sergiotarxz
GPG Key ID: E5903508B6510AC2
2 changed files with 33 additions and 0 deletions

32
Dockerfile Normal file
View File

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

1
branch Normal file
View File

@ -0,0 +1 @@
master