Upgrade NiFi to `1.24.0`.
parent
d08e5a125f
commit
23a9cb43e8
|
@ -1,7 +1,7 @@
|
|||
# NiFi Dev Shell
|
||||
|
||||
This is a small flake template for experimenting with [Apache NiFi](https://nifi.apache.org/)
|
||||
(version 1.19.0). [direnv](https://direnv.net/) can be used to a launch a dev
|
||||
(version 1.24.0). [direnv](https://direnv.net/) can be used to a launch a dev
|
||||
shell upon entering this directory (refer to `.envrc`). Otherwise run via:
|
||||
```bash
|
||||
$ nix develop
|
||||
|
@ -13,7 +13,7 @@ can then be used to boot NiFi. Do so by running:
|
|||
```bash
|
||||
$ nix build
|
||||
$ docker load < result
|
||||
$ docker run -p 8443:8443 nifi:1.19.0
|
||||
$ docker run -p 8443:8443 nifi:1.24.0
|
||||
```
|
||||
Once running, open `https://localhost:8443/nifi` (notice use of the `https`
|
||||
scheme). You can find your login credentials using:
|
||||
|
|
|
@ -15,14 +15,11 @@
|
|||
{
|
||||
packages = {
|
||||
image = pkgs.dockerTools.pullImage {
|
||||
finalImageName = "apache/nifi";
|
||||
finalImageTag = "1.24.0";
|
||||
imageName = "apache/nifi";
|
||||
imageDigest = "sha256:8819e20e3e02484fe765790b28b4a5e8c043f50c341a1778956073149774ebd1";
|
||||
finalImageName = "nifi";
|
||||
finalImageTag = "1.19.0";
|
||||
# docker save image -o <output>
|
||||
# nix hash --base64 --type sha256 <output>
|
||||
sha256 = "sha256-BmRUHDhRpRief5oxjlxYgnBn9oPmiXKs2ojyV3sm4M0=";
|
||||
# docker manifest inspect apache/nifi:1.19.0
|
||||
imageDigest = "sha256:dd6fcf708a63d7a43b1e0b1224d3cf754235a7f4e66945119fb2aa6be8d6ee2d";
|
||||
sha256 = "sha256-l4beU3yEDGFDXCauIPN7nwhTrKf0rZRGcpKvH+a9lo0=";
|
||||
os = "linux";
|
||||
arch = "amd64";
|
||||
};
|
||||
|
@ -31,7 +28,6 @@
|
|||
};
|
||||
|
||||
devShells.default = pkgs.mkShell {
|
||||
# docker run -p 8443:8443 nifi:1.19.0
|
||||
packages = [ pkgs.docker ];
|
||||
};
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue