Skip to content

Commit 2e14cdd

Browse files
authored
Merge pull request moby#3467 from andy5995/patch-1
docs: change semicolons to double ampersands
2 parents 8c4ecdb + 2d047ea commit 2e14cdd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

frontend/dockerfile/docs/reference.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -529,14 +529,14 @@ In the *shell* form you can use a `\` (backslash) to continue a single
529529
RUN instruction onto the next line. For example, consider these two lines:
530530

531531
```dockerfile
532-
RUN /bin/bash -c 'source $HOME/.bashrc; \
532+
RUN /bin/bash -c 'source $HOME/.bashrc && \
533533
echo $HOME'
534534
```
535535

536536
Together they are equivalent to this single line:
537537

538538
```dockerfile
539-
RUN /bin/bash -c 'source $HOME/.bashrc; echo $HOME'
539+
RUN /bin/bash -c 'source $HOME/.bashrc && echo $HOME'
540540
```
541541

542542
To use a different shell, other than '/bin/sh', use the *exec* form passing in

0 commit comments

Comments
 (0)