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:
authorOwl <12261439+ZendaiOwl@users.noreply.github.com>2022-10-17 01:12:49 +0300
committerOwl <12261439+ZendaiOwl@users.noreply.github.com>2022-10-17 01:12:49 +0300
commit4a89e6fe4ad4fd8b37f8ae19bddbe84e70522f08 (patch)
tree975057d6ad4975cf5ffbdf104616b1a134858c1d
parentbfc2c877da133f3db22ae6725833d9789f84869f (diff)
Another testcontainerize
Signed-off-by: Owl <12261439+ZendaiOwl@users.noreply.github.com>
-rw-r--r--build/docker/containerize/test/ncp/Dockerfile12
1 files changed, 1 insertions, 11 deletions
diff --git a/build/docker/containerize/test/ncp/Dockerfile b/build/docker/containerize/test/ncp/Dockerfile
index 4d13355f..3ba9e1ed 100644
--- a/build/docker/containerize/test/ncp/Dockerfile
+++ b/build/docker/containerize/test/ncp/Dockerfile
@@ -1,9 +1,5 @@
# syntax=docker/dockerfile:1
-# FROM bitnami/git:latest AS git
-# RUN --mount=type=cache,target=/usr/local/bin,sharing=shared git clone https://github.com/nextcloud/nextcloudpi.git --branch master --single-branch --depth 1 ncp; \
-# mkdir -p /mnt/nextcloudpi; \
-# cp -R ncp/bin ncp/etc ncp/updates ncp/ncp-app ncp/ncp-web ncp/ncp-activation ncp/tests ncp/ncp-previewgenerator ncp/ncp.sh ncp/lamp.sh ncp/post-inst.sh ncp/update.sh /mnt/nextcloudpi; \
-# rm -R ncp
+# --mount=type=cache,target=/usr/local/bin,sharing=shared
FROM alpine:3.16.2 AS builder
WORKDIR /workdir
RUN apk update && apk add --no-cache git==2.36.2-r0
@@ -12,13 +8,7 @@ WORKDIR /workdir/nextcloudpi
RUN mkdir -p /mnt/nextcloudpi; cp -R bin etc updates ncp-app ncp-web ncp-activation tests ncp-previewgenerator ncp.sh lamp.sh post-inst.sh update.sh /mnt/nextcloudpi
VOLUME /mnt/nextcloudpi
-#--chown=ncp:ncp
-#FROM --platform=$BUILDPLATFORM debian:bullseye-slim AS base
-#FROM nextcloud/all-in-one:latest AS base
FROM debian:bullseye-slim AS base
-#COPY --from=nextcloud/all-in-one:latest --link ["/mnt/docker-aio-config","/mnt/docker-aio-config"]
-#COPY --from=nextcloud/all-in-one:latest --link ["/var/www/*","/var/www/"]
-#COPY --from=bash:latest --link ["/usr/local/bin/bash","/usr/local/bin/"]
COPY --from=builder --link ["/mnt/nextcloudpi","/mnt/nextcloudpi"]
VOLUME /mnt/nextcloudpi
USER root