We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1026164 commit 56e0f31Copy full SHA for 56e0f31
gateway-docker/src/main/resources/docker/Dockerfile
@@ -39,10 +39,10 @@ RUN chmod 644 /home/knox/*.zip && \
39
cd /home/knox && unzip /home/knox/*.zip && rm -f /home/knox/*.zip && ln -nsf /home/knox/*/ /home/knox/knox
40
41
# 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 && \
+RUN mkdir -p /home/knox/knox/data/security/keystores && \
44
mkdir -p /home/knox/knox/conf && \
45
- find /home/knox -type d -exec chmod g+rwx {} \;
+ chown -R knox:knox /home/knox && \
+ chmod -R g+rwX /home/knox \
46
47
# Add the entrypoint script
48
ARG ENTRYPOINT
0 commit comments