Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions nifi/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Changelog

## [Unreleased]

### Changed

- Upgraded to the base image java-base:11-stackable0.3.0. The java-base image
contains a layer which provides Vector. The creation of the stackable user
and group happens in the stackable-base layer and is therefore removed from
this image ([#297]).

[#297]: https://github.com/stackabletech/docker-images/pull/297
6 changes: 2 additions & 4 deletions nifi/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM docker.stackable.tech/stackable/java-base:11-stackable0.2.2@sha256:7929833412c331fc23cde0e23ca730d652c0be61a8a69c8a82b2af937a3fbd4e
FROM docker.stackable.tech/stackable/java-base:11-stackable0.3.0@sha256:5c7f9e7274bd68ea264138b13504efa16fb22ee1122e7d12af32f343eb93c837

ARG PRODUCT
ARG RELEASE
Expand All @@ -15,13 +15,11 @@ LABEL name="Apache NiFi" \
SHELL ["/bin/bash", "-o", "pipefail", "-c"]

RUN microdnf update && \
microdnf install tar gzip zip openssl libxslt-devel libxml2-devel gcc shadow-utils && \
microdnf install tar gzip zip openssl libxslt-devel libxml2-devel gcc && \
microdnf install python3-devel python3-pip python3-setuptools && \
microdnf clean all

RUN pip3 install --no-cache-dir nipyapi==0.19.1
RUN groupadd -r stackable --gid=1000 && \
useradd -r -g stackable --uid=1000 stackable

USER stackable
WORKDIR /stackable
Expand Down