File tree Expand file tree Collapse file tree 4 files changed +19
-1
lines changed Expand file tree Collapse file tree 4 files changed +19
-1
lines changed Original file line number Diff line number Diff line change 1
1
/.idea /
2
2
/** /target /
3
+ /nifi-rel-nifi- * /
4
+ Dockerfile *
5
+ nifi- ** .tar.gz
Original file line number Diff line number Diff line change
1
+ NIFI_VERSION? =1.28.1
2
+
3
+ nifi-image :
4
+ wget https://raw.githubusercontent.com/apache/nifi/refs/tags/rel/nifi-$(NIFI_VERSION ) /nifi-docker/dockerhub/Dockerfile
5
+ curl -L https://github.com/apache/nifi/archive/refs/tags/rel/nifi-$(NIFI_VERSION ) .tar.gz -o nifi-$(NIFI_VERSION ) .tar.gz
6
+ tar -xzf nifi-$(NIFI_VERSION ) .tar.gz
7
+ docker build -t opentdf-nifi:local -f ./nifi-rel-nifi-$(NIFI_VERSION ) /nifi-docker/dockerhub/Dockerfile --build-arg IMAGE_TAG=17-jre --build-arg BASE_URL=https://dlcdn.apache.org --build-arg NIFI_VERSION=$(NIFI_VERSION ) --build-arg IMAGE_NAME=public.ecr.aws/docker/library/eclipse-temurin ./nifi-rel-nifi-$(NIFI_VERSION ) /nifi-docker/dockerhub
8
+
1
9
2
10
.PHONY : compose-package
3
11
compose-package : nar-build
4
12
@echo " package for docker compose"
13
+ mkdir -p deploy/extensions
5
14
rm -rf deploy/extensions/* .nar
6
15
cp nifi-tdf-nar/target/* .nar deploy/extensions
7
16
cp nifi-tdf-controller-services-api-nar/target/* .nar deploy/extensions
Original file line number Diff line number Diff line change @@ -47,6 +47,12 @@ Upload and use this template in NiFi:
47
47
export GITHUB_TOKEN=your gh token
48
48
make compose-package
49
49
```
50
+ 1. Build local Nifi Image
51
+
52
+ ` ` ` shell
53
+ make nifi-image
54
+ ` ` `
55
+
50
56
1. Start docker compose
51
57
` ` ` shell
52
58
docker compose up
Original file line number Diff line number Diff line change 1
1
version : ' 3'
2
2
services :
3
3
opentdf-nifi :
4
- image : ghcr.io/ttschampel/nifi/nifi-1.25.0-jre17:latest
4
+ image : opentdf-nifi:local
5
5
restart : always
6
6
ulimits :
7
7
nofile :
You can’t perform that action at this time.
0 commit comments