Skip to content

Commit 56e0f31

Browse files
committed
KNOX-3257 - Review changes
1 parent 1026164 commit 56e0f31

File tree

1 file changed

+3
-3
lines changed
  • gateway-docker/src/main/resources/docker

1 file changed

+3
-3
lines changed

gateway-docker/src/main/resources/docker/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ RUN chmod 644 /home/knox/*.zip && \
3939
cd /home/knox && unzip /home/knox/*.zip && rm -f /home/knox/*.zip && ln -nsf /home/knox/*/ /home/knox/knox
4040

4141
# Make sure knox owns its files and make all directories group-accessible for arbitrary UIDs
42-
RUN chown -R knox:knox /home/knox && \
43-
mkdir -p /home/knox/knox/data/security/keystores && \
42+
RUN mkdir -p /home/knox/knox/data/security/keystores && \
4443
mkdir -p /home/knox/knox/conf && \
45-
find /home/knox -type d -exec chmod g+rwx {} \;
44+
chown -R knox:knox /home/knox && \
45+
chmod -R g+rwX /home/knox \
4646

4747
# Add the entrypoint script
4848
ARG ENTRYPOINT

0 commit comments

Comments
 (0)