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

Commit 1186ef28 authored by Akhil's avatar Akhil 🙂
Browse files

Added comments

parent f7edee41
Loading
Loading
Loading
Loading
Loading
+6 −5
Original line number Diff line number Diff line
@@ -16,11 +16,8 @@ ARG EDA_TAG="nc-21"
ARG ECLOUD_LAUNCHER_JOB_ID="208960"
ARG GOOGLE_INTEGRATION_VERSION="1.0.6-1-nightly"

RUN mkdir -p /var/www/skeleton/Documents && mkdir -p /var/www/skeleton/Images
COPY patches/ ${TMP_PATCH_DIR}/
COPY custom_entrypoint.sh /
RUN chmod +x /custom_entrypoint.sh
RUN sed -i 's/21,0,7,1/21,0,7,1/' ${BASE_DIR}/version.php
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 
@@ -149,17 +146,21 @@ CMD ["php-fpm"]

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

# Copy all the required files from the nextcloud stage
COPY --from=nextcloud /usr/src/nextcloud /usr/src/nextcloud
COPY --from=nextcloud /usr/local/etc/php/conf.d/ /usr/local/etc/php/conf.d/
COPY --from=nextcloud /*.sh /
COPY --from=nextcloud /upgrade.exclude /
COPY --from=nextcloud /var/spool/cron/crontabs /var/spool/cron/crontabs
COPY --from=nextcloud /entrypoint.sh /

# Copy entrypoints and add correct permissions
COPY custom_entrypoint.sh /
COPY --from=nextcloud /entrypoint.sh /
RUN chmod +x /custom_entrypoint.sh
RUN chmod +x /entrypoint.sh

# Install required dependencies of nextcloud
RUN set -ex; \
    \
    apt-get update; \