Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit da52d537 authored by Akhil's avatar Akhil 🙂
Browse files

Added imagemagick install step

parent 1186ef28
Loading
Loading
Loading
Loading
+2 −6
Original line number Diff line number Diff line
@@ -22,9 +22,6 @@ RUN sed -i 's/21,0,7,0/21,0,7,0/' ${BASE_DIR}/version.php
# Install unzip for unzipping artifacts
RUN apt-get update && apt-get install unzip 

# To resolve warning about "SVG support"
RUN apt-get -y install imagemagick 

# Custom apps
RUN curl -fsSL -o news.tar.gz \
    "https://github.com/nextcloud/news/releases/download/${NEWS_VERSION}/news.tar.gz" && \
@@ -141,9 +138,7 @@ RUN curl -fsSL -o eCloud-theme.tar.gz \
# Replace "Get your own free account" NC link with /e/ Account link in public pages
RUN sed -i 's/https:\/\/nextcloud.com\/signup\//https:\/\/e\.foundation\/<?php p(\$_\[\x27language\x27\]); ?>\/e-email-invite\//' ${BASE_DIR}/core/templates/layout.public.php 

ENTRYPOINT ["/custom_entrypoint.sh"]
CMD ["php-fpm"]

# Use php 8 image
FROM php:8.0.12-fpm-bullseye
RUN mkdir -p /var/www/skeleton/Documents && mkdir -p /var/www/skeleton/Images

@@ -169,6 +164,7 @@ RUN set -ex; \
        bzip2 \
        busybox-static \
        libldap-common \
        imagemagick \
    ; \
    rm -rf /var/lib/apt/lists/*;