Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kaimi-io/yandex-music-download.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaimi <kaimi-@users.noreply.github.com>2020-03-10 11:04:18 +0300
committerGitHub <noreply@github.com>2020-03-10 11:04:18 +0300
commitc9e55bf69d3c7ec460b1b765db8efa8a5d9db879 (patch)
treea2f23c1d4c86cdfa39a415ff220cb5e0201cf15b
parent95dc0b4433b4121032d37efcb71955783ed868df (diff)
Faster container build
-rw-r--r--Dockerfile16
1 files changed, 4 insertions, 12 deletions
diff --git a/Dockerfile b/Dockerfile
index 3b108f2..e59ad14 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,16 +1,8 @@
-FROM ubuntu:14.04
+FROM ubuntu:18.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 apt-get -y install perl cpanminus make
+RUN apt-get -y install libwww-perl liblwp-protocol-https-perl libhttp-cookies-perl libhtml-parser-perl libmp3-tag-perl libgetopt-long-descriptive-perl libarchive-zip-perl
RUN ["cpanm", "Mozilla::CA"]
-RUN ["cpanm", "LWP::UserAgent"]
-RUN ["cpanm", "HTTP::Cookies"]
-RUN ["cpanm", "HTML::Entities"]
-RUN ["cpanm", "Archive::Zip"]
-RUN ["cpanm", "MP3::Tag"]
-RUN ["cpanm", "Getopt::Long::Descriptive"]
-RUN apt-get -y install libssl-dev
-RUN ["cpanm", "--force","LWP::Protocol::https"]
+COPY src /src
ENTRYPOINT [ "/src/ya.pl" ]
-