This is an automated email from the ASF dual-hosted git repository.

piergiorgio pushed a commit to branch CONNECTORS-1754
in repository https://gitbox.apache.org/repos/asf/manifoldcf.git


The following commit(s) were added to refs/heads/CONNECTORS-1754 by this push:
     new ff8a596f3 Fix for the Docker build (CONNECTORS-1754)
ff8a596f3 is described below

commit ff8a596f3a59d8a6e0512adfba0b92e96e292829
Author: Piergiorgio Lucidi <[email protected]>
AuthorDate: Mon Jun 17 12:58:49 2024 +0200

    Fix for the Docker build (CONNECTORS-1754)
---
 .github/workflows/create-release-candidate.yml |  3 +++
 Dockerfile                                     | 24 +++++++++++++++++++++++-
 2 files changed, 26 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/create-release-candidate.yml 
b/.github/workflows/create-release-candidate.yml
index 67d41250b..be66df928 100644
--- a/.github/workflows/create-release-candidate.yml
+++ b/.github/workflows/create-release-candidate.yml
@@ -277,6 +277,9 @@ jobs:
         with:
           images: apache/manifoldcf
       
+      - name: Update Docker Image tag
+        run: sed -i 's/SNAPSHOT/${{ github.event.inputs.releasecandidatetag 
}}/g' Dockerfile;
+      
       - name: Build and push ManifoldCF Docker Image
         uses: docker/[email protected]
         with:
diff --git a/Dockerfile b/Dockerfile
index 8c176bb23..e6c0702f1 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -16,7 +16,7 @@
 FROM eclipse-temurin:11-jre-jammy
 LABEL maintainer="The Apache ManifoldCF Project"
 
-ARG MCF_VERSION="2.27-RC0"
+ARG MCF_VERSION="2.27-SNAPSHOT"
 
 ARG MCF_USER=manifoldcf
 ARG MCF_USER_ID=100001
@@ -32,6 +32,28 @@ RUN apt-get update && apt-get install -y iputils-ping && \
 
 COPY dist/. ${MCF_HOME}/
 
+#Below the specific COPY instructions to configure a distribution without 
propprietary artifacts
+#COPY dist/connector-build.xml ${MCF_HOME}/connector-build.xml
+#COPY dist/connectors.xml ${MCF_HOME}/connectors.xml
+#COPY dist/DEPENDENCIES.txt ${MCF_HOME}/DEPENDENCIES.txt
+#COPY dist/LICENSE.txt ${MCF_HOME}/LICENSE.txt
+#COPY dist/README.txt ${MCF_HOME}/README.txt
+
+#COPY dist/connector-common-lib ${MCF_HOME}/connector-common-lib
+#COPY dist/connector-lib ${MCF_HOME}/connector-lib
+#COPY dist/doc ${MCF_HOME}/doc
+#COPY dist/example ${MCF_HOME}/example
+#COPY dist/file-resources ${MCF_HOME}/file-resources
+#COPY dist/lib ${MCF_HOME}/lib
+#COPY dist/multiprocess-file-example ${MCF_HOME}/multiprocess-file-example
+#COPY dist/multiprocess-zk-example ${MCF_HOME}/multiprocess-zk-example
+#COPY dist/obfuscation-utility ${MCF_HOME}/obfuscation-utility
+#COPY dist/plugins/solr ${MCF_HOME}/plugins/solr
+#COPY dist/script-engine ${MCF_HOME}/script-engine
+#COPY dist/test-lib ${MCF_HOME}/test-lib
+#COPY dist/web/war ${MCF_HOME}/web/war
+
+
 LABEL org.opencontainers.image.title="Apache ManifoldCF"
 LABEL org.opencontainers.image.description="Apache ManifoldCF is a 
multi-repository crawler framework, with multiple connectors."
 LABEL org.opencontainers.image.authors="The Apache ManifoldCF Project"

Reply via email to