Pushing the Dockerfile on a separate project.
This commit is contained in:
commit
5fcd573335
32
Dockerfile
Normal file
32
Dockerfile
Normal 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" ]
|
Loading…
Reference in New Issue
Block a user