Skip to content

Commit

Permalink
Add note for chmod
Browse files Browse the repository at this point in the history
Explains why chmod is used - for OpenShift users where
any user ID can be substituted.

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
  • Loading branch information
alexellis committed May 28, 2020
1 parent 382aa66 commit 541cdb3
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions template/python-armhf/Dockerfile
Expand Up @@ -41,6 +41,7 @@ USER root

COPY function function

# Allow any user-id for OpenShift users.
RUN chown -R app:app ./ && \
chmod -R 777 /home/app/python

Expand Down
1 change: 1 addition & 0 deletions template/python/Dockerfile
Expand Up @@ -39,6 +39,7 @@ USER root

COPY function function

# Allow any user-id for OpenShift users.
RUN chown -R app:app ./ && \
chmod -R 777 /home/app/python

Expand Down
1 change: 1 addition & 0 deletions template/python3-armhf/Dockerfile
Expand Up @@ -39,6 +39,7 @@ USER root

COPY function function

# Allow any user-id for OpenShift users.
RUN chown -R app:app ./ && \
chmod -R 777 /home/app/python

Expand Down
1 change: 1 addition & 0 deletions template/python3-debian/Dockerfile
Expand Up @@ -40,6 +40,7 @@ USER root

COPY function function

# Allow any user-id for OpenShift users.
RUN chown -R app:app ./ && \
chmod -R 777 /home/app/python

Expand Down
1 change: 1 addition & 0 deletions template/python3/Dockerfile
Expand Up @@ -40,6 +40,7 @@ USER root

COPY function function

# Allow any user-id for OpenShift users.
RUN chown -R app:app ./ && \
chmod -R 777 /home/app/python

Expand Down

0 comments on commit 541cdb3

Please sign in to comment.