Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthecalcaholic <6317548+theCalcaholic@users.noreply.github.com>2022-09-28 16:03:56 +0300
committerthecalcaholic <6317548+theCalcaholic@users.noreply.github.com>2022-09-28 17:14:01 +0300
commit549ba6aad3644b396eff2f4b9a3a6ca8e6f2968b (patch)
tree3149f6fabca33959e711f45670ee799842c99851
parent4049a4b07d5009e4e6e23fe8fde2ee29e5fae08f (diff)
Dockerfile: Mark as image build during lamp setup
Signed-off-by: thecalcaholic <6317548+theCalcaholic@users.noreply.github.com>
-rw-r--r--build/docker/Dockerfile6
1 files changed, 5 insertions, 1 deletions
diff --git a/build/docker/Dockerfile b/build/docker/Dockerfile
index 438009b5..557b86f3 100644
--- a/build/docker/Dockerfile
+++ b/build/docker/Dockerfile
@@ -35,6 +35,9 @@ COPY etc/ncp-templates /usr/local/etc/ncp-templates
RUN --mount=type=cache,target=/var/cache/apt --mount=type=cache,target=/var/lib/apt \
set -e; \
+# mark as image build
+touch /.ncp-image; \
+
# installation
apt-get update; \
apt-get install --no-install-recommends -y jq wget procps ca-certificates lsb-release; \
@@ -62,7 +65,8 @@ rm -f /var/log/alternatives.log /var/log/apt/*; \
# specific cleanup
rm /data-ro/database/ib_logfile*; \
-rm /usr/local/etc/lamp.sh
+rm /usr/local/etc/lamp.sh \
+rm /.ncp-image;
COPY build/docker/lamp/010lamp /etc/services-enabled.d/