correct build steps for apps

This commit is contained in:
Sebastian Hugentobler 2021-08-22 20:35:01 +02:00
parent a92313f428
commit 2d313edc63
Signed by: shu
GPG Key ID: BB32CF3CA052C2F0

View File

@ -40,7 +40,7 @@ RUN wget https://github.com/nextcloud/contacts/archive/refs/tags/$CONTACTS_VERSI
RUN echo "$CONTACTS_SHA256_SUM $CONTACTS_VERSION.tar.gz" | sha256sum -c - || exit 1
RUN mkdir /var/lib/nextcloud/apps/contacts
RUN tar xzf $CONTACTS_VERSION.tar.gz -C /var/lib/nextcloud/apps/contacts --strip 1
RUN cd /var/lib/nextcloud/apps/contacts && composer install --no-dev -o && npm ci && npm run build
RUN cd /var/lib/nextcloud/apps/contacts && composer install --no-dev -o && npm run build
ENV CALENDAR_VERSION=v2.3.2
ENV CALENDAR_SHA256_SUM=1dcadd5a431907a3135aa31837a0c60b01455f84db86b74731454aeda86ee85e
@ -48,7 +48,7 @@ RUN wget https://github.com/nextcloud/calendar/archive/refs/tags/$CALENDAR_VERSI
RUN echo "$CALENDAR_SHA256_SUM $CALENDAR_VERSION.tar.gz" | sha256sum -c - || exit 1
RUN mkdir /var/lib/nextcloud/apps/calendar
RUN tar xzf $CALENDAR_VERSION.tar.gz -C /var/lib/nextcloud/apps/calendar --strip 1
RUN cd /var/lib/nextcloud/apps/calendar && composer install --no-dev -o && npm ci && npm run build
RUN cd /var/lib/nextcloud/apps/calendar && composer install --no-dev && npm install && npm run build
ENV TASKS_VERSION=v0.14.1
ENV TASKS_SHA256_SUM=0326d6b80d7bddf7f015bff5c75725897b26575300b2c2b15c8710e8f4d20d41