Verified Commit 1e734d86 authored by Sebastian Schüpbach's avatar Sebastian Schüpbach
Browse files

add libs to show admin dashboard

parent 025e1f53
......@@ -25,11 +25,10 @@ ADD --chown=cantaloupe ./run.sh /home/cantaloupe/run.sh
ADD --chown=cantaloupe ./delegates.rb /home/cantaloupe/app/delegates.rb
{%- if kakadu %}
COPY --from=build /kakadu /usr/lib/
{% endif -%}
{%- if ffmpeg or turbojpeg or openjpeg or grok %}
RUN apt-get -qq update
{% endif -%}
{%- if ffmpeg %}
{% endif %}
RUN apt-get -qq update && \
apt-get -qq install --no-install-recommends libfreetype6 fontconfig
{% if ffmpeg %}
RUN apt-get -qq install --no-install-recommends ffmpeg
{% endif -%}
{%- if turbojpeg or grok %}
......@@ -53,10 +52,8 @@ RUN wget -q https://github.com/GrokImageCompression/grok/releases/download/v7.6.
&& wget -q https://github.com/GrokImageCompression/grok/releases/download/v7.6.5/grokj2k-tools_7.6.5-1_amd64.deb \
&& dpkg -i ./libgrokj2k1_7.6.5-1_amd64.deb \
&& dpkg -i --ignore-depends=libjpeg62-turbo --ignore-depends=libjpeg8 ./grokj2k-tools_7.6.5-1_amd64.deb
{% endif -%}
{%- if ffmpeg or turbojpeg or openjpeg or grok %}
RUN apt-get clean && rm -rf /var/lib/apt/lists/*
{% endif %}
RUN apt-get clean && rm -rf /var/lib/apt/lists/*
USER cantaloupe
WORKDIR /home/cantaloupe
VOLUME ["/home/cantaloupe/images"]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment