0

Switched to Alpine-based image

This commit is contained in:
Sergey Belov
2022-07-19 13:42:14 +03:00
committed by GitHub
parent 4a0835d55a
commit c511af0b5d

View File

@@ -1,8 +1,8 @@
FROM ubuntu:18.04 FROM alpine:latest
ENV DEBIAN_FRONTEND=noninteractive LANG=en_US.UTF-8 LC_ALL=C.UTF-8 LANGUAGE=en_US.UTF-8 ENV LANG=en_US.UTF-8 LC_ALL=C.UTF-8 LANGUAGE=en_US.UTF-8
RUN apt-get update RUN apk --update add perl perl-app-cpanminus make unzip
RUN apt-get -y install perl cpanminus make RUN apk add perl-libwww perl-lwp-protocol-https perl-http-cookies perl-html-parser perl-getopt-long-descriptive perl-archive-zip \
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 --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing/
RUN ["cpanm", "Mozilla::CA"] RUN ["cpanm", "MP3::Tag", "File::Util"]
COPY src /src COPY src /src
ENTRYPOINT [ "/src/ya.pl" ] ENTRYPOINT [ "/src/ya.pl" ]