File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,9 @@ RUN curl 'https://repo.stackable.tech/repository/m2/tech/stackable/nifi/stackabl
5959 # Remove the unzipped sources
6060 rm -rf /stackable/nifi-${PRODUCT}-src && \
6161 # Remove generated docs in binary
62- rm -rf /stackable/nifi-${PRODUCT}/docs
62+ rm -rf /stackable/nifi-${PRODUCT}/docs && \
63+ # Set correct groups
64+ chmod -R g=u /stackable
6365
6466FROM stackable/image/java-base AS final
6567
@@ -102,11 +104,6 @@ pip install --no-cache-dir \
102104# For backwards compatibility we create a softlink in /bin where the jar used to be as long as we are root
103105# This can be removed once older versions / operators using this are no longer supported
104106ln -s /stackable/stackable-bcrypt.jar /bin/stackable-bcrypt.jar
105-
106- # All files and folders owned by root group to support running as arbitrary users.
107- # This is best practice as all container users will belong to the root group (0).
108- chown -R ${STACKABLE_USER_UID}:0 /stackable
109- chmod -R g=u /stackable
110107EOF
111108
112109# ----------------------------------------
You can’t perform that action at this time.
0 commit comments