File tree Expand file tree Collapse file tree 4 files changed +4
-2
lines changed Expand file tree Collapse file tree 4 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ configure()
8585{
8686 # # IF BETA SELECTED ADD "pre" to DOWNLOAD PATH
8787 [[ " $BETA " == yes ]] && local PREFIX=" pre"
88-
88+
8989 # # DOWNLOAD AND (OVER)WRITE NEXTCLOUD
9090 cd /var/www/
9191
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ ENV DOCKERBUILD 1
1313COPY etc/ncp.cfg etc/library.sh lamp.sh /usr/local/etc/
1414
1515RUN --mount=type=cache,target=/var/cache/apt --mount=type=cache,target=/var/lib/apt \
16+ set -e; \
1617
1718# installation
1819apt-get update; \
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ COPY bin/ncp/CONFIG/nc-nextcloud.sh /
1515COPY etc/ncp-config.d/nc-nextcloud.cfg /usr/local/etc/ncp-config.d/
1616
1717RUN --mount=type=cache,target=/var/cache/apt --mount=type=cache,target=/var/lib/apt \
18+ set -e; \
1819
1920# mark as image build
2021touch /.ncp-image; \
@@ -23,7 +24,6 @@ touch /.ncp-image; \
2324apt-get update; \
2425apt-get install --no-install-recommends -y wget ca-certificates sudo jq; \
2526source /usr/local/etc/library.sh; \
26- set +x; \
2727install_app /nc-nextcloud.sh; \
2828run_app_unsafe /nc-nextcloud.sh; \
2929mv /var/www/nextcloud /data-ro/nextcloud; \
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ COPY docker /tmp/ncp-build/docker/
2323COPY etc/ncp-config.d/nc-init.cfg /usr/local/etc/ncp-config.d/nc-init-copy.cfg
2424
2525RUN --mount=type=cache,target=/var/cache/apt --mount=type=cache,target=/var/lib/apt \
26+ set -e; \
2627
2728# make sure we don't accidentally disable first run wizard
2829rm -f ncp-web/{wizard.cfg,ncp-web.cfg}; \
You can’t perform that action at this time.
0 commit comments