Loading Dockerfile +13 −0 Original line number Diff line number Diff line Loading @@ -14,6 +14,7 @@ ARG SNAPPY_VERSION="2.29.1" ARG SNAPPY_THEME_VERSION="3.0.0" ARG USER_MIGRATION_JOB_ID="608716" ARG MEMORIES_VERSION="5.4.1" ARG DROP_ACCOUNT_VERSION="2.4.0" RUN sed -i 's/26,0,8,2/26,0,8,13/' ${BASE_DIR}/version.php COPY custom_entrypoint.sh / Loading Loading @@ -105,6 +106,15 @@ RUN curl -fsSL -o memories.tar.gz \ tar -xf memories.tar.gz -C ${BASE_DIR}/custom_apps/ && \ rm memories.tar.gz; RUN curl -fsSL -o drop_account-${DROP_ACCOUNT_VERSION}.tar.gz \ "https://framagit.org/framasoft/nextcloud/drop_account/-/archive/${DROP_ACCOUNT_VERSION}/drop_account-${DROP_ACCOUNT_VERSION}.tar.gz" && \ tar -xf drop_account-${DROP_ACCOUNT_VERSION}.tar.gz -C /tmp/ && \ mkdir -p ${BASE_DIR}/custom_apps/drop_account && \ mv /tmp/drop_account-${DROP_ACCOUNT_VERSION}/* ${BASE_DIR}/custom_apps/drop_account && \ chown -R www-data:www-data ${BASE_DIR}/custom_apps/drop_account && \ rm -rf drop_account-${DROP_ACCOUNT_VERSION}.tar.gz /tmp/drop_account-${DROP_ACCOUNT_VERSION} # Remove unzip when unzipping is done RUN apt-get -y remove unzip Loading Loading @@ -289,3 +299,6 @@ RUN if [ "$IS_SELFHOST" = false ]; then \ # Seds to fix displayname save regression RUN sed -i "s/'email' ||/'email'/" ${BASE_DIR}/apps/settings/js/federationsettingsview.js RUN sed -i "s/field === 'displayname'//" ${BASE_DIR}/apps/settings/js/federationsettingsview.js # Seds to allow deletion of LDAP users RUN sed -i "s/return in_array(\$user->getBackendClassName(), \['Database', 'Guests'\]);/return in_array(\$user->getBackendClassName(), ['Database', 'Guests', 'LDAP']);/" ${BASE_DIR}/custom_apps/drop_account/lib/Service/DeletionCapabilityService.php Loading
Dockerfile +13 −0 Original line number Diff line number Diff line Loading @@ -14,6 +14,7 @@ ARG SNAPPY_VERSION="2.29.1" ARG SNAPPY_THEME_VERSION="3.0.0" ARG USER_MIGRATION_JOB_ID="608716" ARG MEMORIES_VERSION="5.4.1" ARG DROP_ACCOUNT_VERSION="2.4.0" RUN sed -i 's/26,0,8,2/26,0,8,13/' ${BASE_DIR}/version.php COPY custom_entrypoint.sh / Loading Loading @@ -105,6 +106,15 @@ RUN curl -fsSL -o memories.tar.gz \ tar -xf memories.tar.gz -C ${BASE_DIR}/custom_apps/ && \ rm memories.tar.gz; RUN curl -fsSL -o drop_account-${DROP_ACCOUNT_VERSION}.tar.gz \ "https://framagit.org/framasoft/nextcloud/drop_account/-/archive/${DROP_ACCOUNT_VERSION}/drop_account-${DROP_ACCOUNT_VERSION}.tar.gz" && \ tar -xf drop_account-${DROP_ACCOUNT_VERSION}.tar.gz -C /tmp/ && \ mkdir -p ${BASE_DIR}/custom_apps/drop_account && \ mv /tmp/drop_account-${DROP_ACCOUNT_VERSION}/* ${BASE_DIR}/custom_apps/drop_account && \ chown -R www-data:www-data ${BASE_DIR}/custom_apps/drop_account && \ rm -rf drop_account-${DROP_ACCOUNT_VERSION}.tar.gz /tmp/drop_account-${DROP_ACCOUNT_VERSION} # Remove unzip when unzipping is done RUN apt-get -y remove unzip Loading Loading @@ -289,3 +299,6 @@ RUN if [ "$IS_SELFHOST" = false ]; then \ # Seds to fix displayname save regression RUN sed -i "s/'email' ||/'email'/" ${BASE_DIR}/apps/settings/js/federationsettingsview.js RUN sed -i "s/field === 'displayname'//" ${BASE_DIR}/apps/settings/js/federationsettingsview.js # Seds to allow deletion of LDAP users RUN sed -i "s/return in_array(\$user->getBackendClassName(), \['Database', 'Guests'\]);/return in_array(\$user->getBackendClassName(), ['Database', 'Guests', 'LDAP']);/" ${BASE_DIR}/custom_apps/drop_account/lib/Service/DeletionCapabilityService.php