Skip to content

Commit a400848

Browse files
committed
limit lines in code blocks to 80 cols in README
Signed-off-by: Philippe Martin <[email protected]>
1 parent 73ec39c commit a400848

File tree

1 file changed

+15
-9
lines changed

1 file changed

+15
-9
lines changed

README.md

+15-9
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ USER root
1717

1818
with this printed message
1919
```
20-
USER directive set to root at line 28 could cause an unexpected behavior. In OpenShift, containers are run using arbitrarily assigned user ID
20+
USER directive set to root at line 28 could cause an unexpected behavior.
21+
In OpenShift, containers are run using arbitrarily assigned user ID
2122
```
2223

2324
### Run Directive
@@ -36,8 +37,12 @@ RUN chmod 700 /app
3637

3738
with this printed message
3839
```
39-
permission set on chmod 700 /app at line 10-18 could cause an unexpected behavior. Is it an executable file? Try updating permissions to 770 otherwise set it to 760
40-
Explanation - in Openshift, directories and files need to be read/writable by the root group and files that must be executed should have group execute permissions
40+
permission set on chmod 700 /app at line 10-18 could cause an unexpected
41+
behavior. Is it an executable file? Try updating permissions to 770 otherwise
42+
set it to 760
43+
Explanation - in Openshift, directories and files need to be read/writable
44+
by the root group and files that must be executed should have group execute
45+
permissions
4146
```
4247

4348
#### chown
@@ -51,8 +56,8 @@ RUN chown -R node:node /app
5156

5257
with this printed message
5358
```
54-
owner set on chown -R node:node /app at line 10-18 could cause an unexpected behavior.
55-
In OpenShift the group ID must always be set to the root group (0)
59+
owner set on chown -R node:node /app at line 10-18 could cause an unexpected
60+
behavior. In OpenShift the group ID must always be set to the root group (0)
5661
```
5762

5863
#### sudo/su
@@ -66,9 +71,9 @@ RUN sudo node -v
6671

6772
with this printed message
6873
```
69-
sudo/su command used in 'sudo node -v' at line 26 could cause an unexpected behavior.
70-
In OpenShift, containers are run using arbitrarily assigned user ID and elevating privileges could lead
71-
to an unexpected behavior
74+
sudo/su command used in 'sudo node -v' at line 26 could cause an unexpected
75+
behavior. In OpenShift, containers are run using arbitrarily assigned user ID
76+
and elevating privileges could lead to an unexpected behavior
7277
```
7378

7479
### Expose directive
@@ -82,7 +87,8 @@ EXPOSE 80
8287

8388
with this printed message
8489
```
85-
port 80 exposed at line 28 could be wrong. TCP/IP port numbers below 1024 are privileged port numbers
90+
port 80 exposed at line 28 could be wrong. TCP/IP port numbers below 1024 are
91+
privileged port numbers
8692
```
8793

8894
Cli

0 commit comments

Comments
 (0)