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

Commit 8699f000 authored by Akhil's avatar Akhil 🙂
Browse files

Set theme version to nc21; install imagemagick b4 extensions

parent c21b95be
Loading
Loading
Loading
Loading
Loading
+10 −8
Original line number Diff line number Diff line
FROM nextcloud:21.0.7-fpm AS nextcloud
ARG BASE_DIR="/usr/src/nextcloud"
ARG TMP_PATCH_DIR="/tmp/build_patches"
ARG THEME_VERSION="20.1.2"
# temporarily setting theme version to "nc21" to test
ARG THEME_VERSION="nc21"
ARG THEME_HELPER_VERSION="1.0.1"
ARG NEWS_VERSION="16.2.1"
ARG QUOTA_WARN_VERSION="1.11.0"
@@ -14,7 +15,7 @@ ARG RAINLOOP_VERSION="7.1.2"
ARG RAINLOOP_COMMIT_SHA="aa5c57a7"
ARG EDA_TAG="nc-21"
ARG ECLOUD_LAUNCHER_JOB_ID="208960"
ARG GOOGLE_INTEGRATION_VERSION="1.0.6-1-nightly"
ARG GOOGLE_INTEGRATION_VERSION="1.0.6"

COPY patches/ ${TMP_PATCH_DIR}/
RUN sed -i 's/21,0,7,0/21,0,7,4/' ${BASE_DIR}/version.php
@@ -169,9 +170,13 @@ RUN set -ex; \
        bzip2 \
        busybox-static \
        libldap-common \
    ; \
    ;

# Install imagemagick
RUN apt-get -y install imagemagick; \
    rm -rf /var/lib/apt/lists/*;


# install the PHP extensions we need
# see https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html
ENV PHP_MEMORY_LIMIT 512M
@@ -241,11 +246,8 @@ RUN set -ex; \
        | sort -u \
        | xargs -rt apt-mark manual; \
    \
    apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; 

# Install imagemagick
RUN apt-get -y install imagemagick
RUN rm -rf /var/lib/apt/lists/*
    apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \
    rm -rf /var/lib/apt/lists/*;

VOLUME /var/www/html
ENV NEXTCLOUD_VERSION 21.0.7