0

Merge pull request #8 from korjavin/master

Dockerfile
This commit is contained in:
Kaimi
2017-12-13 15:13:13 +03:00
committed by GitHub
2 changed files with 1075 additions and 1060 deletions

15
Dockerfile Normal file
View File

@@ -0,0 +1,15 @@
FROM ubuntu:14.04
ENV DEBIAN_FRONTEND=noninteractive LANG=en_US.UTF-8 LC_ALL=C.UTF-8 LANGUAGE=en_US.UTF-8
RUN apt-get update
RUN apt-get -y install perl cpanminus build-essential
COPY src /src
RUN ["cpanm", "Mozilla::CA"]
RUN ["cpanm", "LWP::UserAgent"]
RUN ["cpanm", "HTTP::Cookies"]
RUN ["cpanm", "HTML::Entities"]
RUN ["cpanm", "MP3::Tag"]
RUN ["cpanm", "Getopt::Long::Descriptive"]
RUN apt-get -y install libssl-dev
RUN ["cpanm", "--force","LWP::Protocol::https"]
ENTRYPOINT [ "/src/ya.pl" ]