Closed abdimussa87 closed 4 months ago
I have openned a PR about that : https://github.com/quran/quran.com-images/pull/51
Just use the modified Dockerfile there :
FROM debian:buster
MAINTAINER Hossam Hammady <github@hammady.net>
RUN apt-get update -qq && \
apt-get install -y \
libgd-gd2-perl libgd-text-perl \
libdbd-mysql-perl libdbi-perl \
libconfig-yaml-perl \
make gcc g++ \
unzip \
curl && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
RUN cd / && \
curl -L -o zopfli.zip https://github.com/google/zopfli/archive/master.zip && \
unzip zopfli.zip && \
cd zopfli-master && \
make zopflipng && \
cp zopflipng /usr/local/bin/
WORKDIR /app
RUN curl -L https://cpanmin.us | perl - -M https://cpan.metacpan.org -n Mojolicious
ADD config /app/config
ADD lib /app/lib
ADD res /app/res
ADD script /app/script
ADD Makefile.PL /app/Makefile.PL
RUN cd /app && \
perl Makefile.PL && \
make && \
make install
RUN find /app -type f -name '*.pl' -exec sed -i 's/\r$//' {} \;
RUN sed -i 's/localhost/mysql/' /app/config/database.yaml
CMD /app/script/generate.pl help
this should be fixed now in #50 and #51
I keep getting the below error when I ran
docker-compose up -d
: