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:
authorSergey Belov <kaimi-@users.noreply.github.com>2022-07-19 13:42:14 +0300
committerGitHub <noreply@github.com>2022-07-19 13:42:14 +0300
commitc511af0b5dec7b58d2d8d38893d1a2112de32fa5 (patch)
tree0789fbb157dc658da5fea20312133b95c3757244
parent4a0835d55ac961ccb56084cfa01ec4263373d9de (diff)
Switched to Alpine-based image
-rw-r--r--Dockerfile12
1 files changed, 6 insertions, 6 deletions
diff --git a/Dockerfile b/Dockerfile
index 5ef6dcf..9a4f97b 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,8 +1,8 @@
-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 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 libfile-util-perl
-RUN ["cpanm", "Mozilla::CA"]
+FROM alpine:latest
+ENV LANG=en_US.UTF-8 LC_ALL=C.UTF-8 LANGUAGE=en_US.UTF-8
+RUN apk --update add perl perl-app-cpanminus make unzip
+RUN apk add perl-libwww perl-lwp-protocol-https perl-http-cookies perl-html-parser perl-getopt-long-descriptive perl-archive-zip \
+ --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing/
+RUN ["cpanm", "MP3::Tag", "File::Util"]
COPY src /src
ENTRYPOINT [ "/src/ya.pl" ]