Debian Codegraph @

dockerfile/parser/testfiles/heredoc/result

raw
1 (from "docker.io/library/python:latest")
2 (run(EOF-
3 echo "Hello" >> /hello
4 echo "World!" >> /hello-0-true-false)
5 "<<EOF")
6 (run(EOF-
7 echo "hello"
8 echo "world"-0-true-true)
9 "<<-EOF")
10 (run(heredoc-
11 echo "hello"
12 echo "world"-0-true-false)
13 "<<heredoc")
14 (run(heredoc-
15 echo "hello"
16 echo "world"-0-true-true)
17 "<<-heredoc")
18 (run(heredoc-
19 echo "hello"
20 echo "world"-0-true-false)
21 "0<<heredoc")
22 (run(heredoc-
23 echo "hello"
24 echo "world"-0-true-true)
25 "0<<-heredoc")
26 (run(heredoc-
27 echo "hello"
28 echo "world"-0-false-true)
29 "0<<-\"heredoc\"")
30 (run(heredoc-
31 echo "hello"
32 echo "world"-0-false-false)
33 "0<<\"heredoc\"")
34 (run(EOF-
35 this is the file-5-true-false)
36 "5<<EOF cat /proc/self/fd/5 > file.txt")
37 (run(FILE1-
38 this is the first file-5-true-false)
39 (FILE2-
40 this is the second file-6-true-false)
41 "cat /proc/self/fd/5 /proc/self/fd/6 5<<FILE1 6<<FILE2 > file.txt")
42 (run(FILE1-
43 this is the first file-5-true-false)
44 (FILE2-
45 this is the second file-6-true-false)
46 "cat /proc/self/fd/5 /proc/self/fd/6 5<<FILE1 > file.txt 6<<FILE2")
47 (run(EOF-
48 this is the file-0-true-false)
49 "cat 0<<EOF > file.txt")
50 (run(file-
51 this is the first file-5-true-false)
52 (FILE-
53 this is the second file-6-true-false)
54 (File-
55 this is the third file-6-true-false)
56 "5<<file cat /proc/self/fd/5 /proc/self/fd/6 6<<FILE | cat /dev/stdin /proc/self/fd/6 6<<File > file.txt")
57 (run(EOF-
58 with open("/hello", "w") as f:
59 print("Hello", file=f)
60 print("Something", file=f)-0-true-false)
61 "python3 <<EOF")
62 (add(EOF-
63 (your index page goes here)-0-true-false)
64 "<<EOF" "/index.html")
65 (copy(robots.txt-
66 (robots content)-0-true-false)
67 (humans.txt-
68 (humans content)-0-true-false)
69 "<<robots.txt" "<<humans.txt" "/test/")
70 (run(heredoc-
71 echo "hello"
72 echo "world"-0-false-true)
73 "0<<-\"heredoc\"")
74 (run "cat index.html")
75 (run "cat hello")