Skip to content

Commit d4bb307

Browse files
committed
added multiline bash test
1 parent 26b18c2 commit d4bb307

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

examples/RPi-OpenWRT.Pifile

+6
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,9 @@ RUN head -n1 "README.md"
2626
# test an INCLUDE - both with and without the .Pifile extension
2727
INCLUDE examples/Module-Hello.Pifile
2828
INCLUDE examples/Module-Hello
29+
30+
# test a multiline command
31+
RUN sh -c "
32+
echo hello
33+
echo world
34+
"

examples/RPi-RaspberryPiOSLite.Pifile

+6
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,9 @@ RUN apt-get update
66
RUN apt-get install -y cowsay
77

88
RUN /usr/games/cowsay "huhu pimod~"
9+
10+
# test a multiline command
11+
RUN bash -c "
12+
echo hello
13+
echo world
14+
"

0 commit comments

Comments
 (0)