File tree Expand file tree Collapse file tree 3 files changed +14
-1
lines changed Expand file tree Collapse file tree 3 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ All notable changes to this project will be documented in this file.
2121 ` check-permissions-ownership.sh ` provided in stackable-base image ([ #1041 ] ).
2222- nifi: check for correct permissions and ownerships in /stackable folder via
2323 ` check-permissions-ownership.sh ` provided in stackable-base image ([ #1027 ] ).
24+ - nifi: add git-sync ([ #1107 ] ).
2425- opa: check for correct permissions and ownerships in /stackable folder via
2526 ` check-permissions-ownership.sh ` provided in stackable-base image ([ #1038 ] ).
2627- spark-k8s: check for correct permissions and ownerships in /stackable folder via
@@ -75,6 +76,7 @@ All notable changes to this project will be documented in this file.
7576[ #1054 ] : https://github.com/stackabletech/docker-images/pull/1054
7677[ #1055 ] : https://github.com/stackabletech/docker-images/pull/1055
7778[ #1056 ] : https://github.com/stackabletech/docker-images/pull/1056
79+ [ #1107 ] : https://github.com/stackabletech/docker-images/pull/1107
7880
7981## [ 25.3.0] - 2025-03-21
8082
Original file line number Diff line number Diff line change 11# syntax=docker/dockerfile:1.10.0@sha256:865e5dd094beca432e8c0a1d5e1c465db5f998dca4e439981029b3b81fb39ed5
2- # check=error=true
2+ # check=error=true;skip=InvalidDefaultArgInFrom
3+
4+ ARG GIT_SYNC
5+
6+ FROM oci.stackable.tech/sdp/git-sync/git-sync:${GIT_SYNC} AS git-sync-image
37
48FROM stackable/image/java-devel AS nifi-builder
59
@@ -31,6 +35,7 @@ USER ${STACKABLE_USER_UID}
3135WORKDIR /stackable
3236
3337COPY --chown=${STACKABLE_USER_UID}:0 nifi/stackable/patches/${PRODUCT} /stackable/src/nifi/stackable/patches/${PRODUCT}
38+ COPY --chown=${STACKABLE_USER_UID}:0 --from=git-sync-image /git-sync /stackable/git-sync
3439
3540RUN <<EOF
3641# This used to be located in /bin/stackable-bcrypt.jar. We create a softlink for /bin/stackable-bcrypt.jar in the main container for backwards compatibility.
@@ -79,6 +84,7 @@ LABEL name="Apache NiFi" \
7984
8085COPY --chown=${STACKABLE_USER_UID}:0 --from=nifi-builder /stackable/nifi-${PRODUCT} /stackable/nifi-${PRODUCT}/
8186COPY --chown=${STACKABLE_USER_UID}:0 --from=nifi-builder /stackable/stackable-bcrypt.jar /stackable/stackable-bcrypt.jar
87+ COPY --chown=${STACKABLE_USER_UID}:0 --from=nifi-builder /stackable/git-sync /stackable/git-sync
8288
8389COPY --chown=${STACKABLE_USER_UID}:0 nifi/stackable/bin /stackable/bin
8490COPY --chown=${STACKABLE_USER_UID}:0 nifi/licenses /licenses
@@ -87,9 +93,11 @@ COPY --chown=${STACKABLE_USER_UID}:0 nifi/python /stackable/python
8793RUN <<EOF
8894microdnf update
8995
96+ # git: Required for git-sync
9097# python-pip: Required to install Python packages
9198# Note: Python is also required for the Python processors (ExecuteScript and other for NiFi < 2.0 and custom Python processors for NiFi > 2.0)
9299microdnf install \
100+ git \
93101 python-pip
94102
95103microdnf clean all
Original file line number Diff line number Diff line change 33 "product" : "1.27.0" ,
44 "java-base" : "11" ,
55 "java-devel" : "11" , # There is an error when trying to use the jdk 21 (since nifi 1.26.0)
6+ "git_sync" : "v4.4.0" ,
67 },
78 {
89 "product" : "1.28.1" ,
910 "java-base" : "11" ,
1011 "java-devel" : "11" ,
12+ "git_sync" : "v4.4.0" ,
1113 },
1214 {
1315 "product" : "2.2.0" ,
1416 "java-base" : "21" ,
1517 "java-devel" : "21" ,
18+ "git_sync" : "v4.4.0" ,
1619 },
1720]
You can’t perform that action at this time.
0 commit comments