Merge pull request #254 from hendricius/fix-ci

Fix ci with Imagemagick
This commit is contained in:
cedounet
2023-10-13 10:36:26 +01:00
committed by GitHub

View File

@@ -20,6 +20,7 @@ RUN apt-get update && \
wget \
ruby3.1 \
ruby-dev \
imagemagick \
build-essential
WORKDIR /root
@@ -31,9 +32,4 @@ COPY website/Gemfile /root
COPY website/.ruby-version /root
RUN bundle install
# Install support to build amazon kindle books
RUN wget https://archive.org/download/kindlegen_linux_2_6_i386_v2_9/kindlegen_linux_2.6_i386_v2_9.tar.gz && \
tar xzf kindlegen_linux_2.6_i386_v2_9.tar.gz && \
mv kindlegen /usr/bin
CMD ["/bin/bash"]