Skip to content

Commit 541cdb3

Browse files
committed
Add note for chmod
Explains why chmod is used - for OpenShift users where any user ID can be substituted. Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
1 parent 382aa66 commit 541cdb3

File tree

5 files changed

+5
-0
lines changed

5 files changed

+5
-0
lines changed

template/python-armhf/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ USER root
4141

4242
COPY function function
4343

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

template/python/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ USER root
3939

4040
COPY function function
4141

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

template/python3-armhf/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ USER root
3939

4040
COPY function function
4141

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

template/python3-debian/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ USER root
4040

4141
COPY function function
4242

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

template/python3/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ USER root
4040

4141
COPY function function
4242

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

0 commit comments

Comments
 (0)