Browse Source

Pushing the Dockerfile on a separate project.

master
sergiotarxz 3 months ago
commit
5fcd573335
Signed by: sergiotarxz GPG Key ID: E5903508B6510AC2
2 changed files with 33 additions and 0 deletions
  1. +32
    -0
      Dockerfile
  2. +1
    -0
      branch

+ 32
- 0
Dockerfile 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
- 0
branch View File

@ -0,0 +1 @@
master

Loading…
Cancel
Save