Skip to content

Commit 1ee7c15

Browse files
authored
Update job.yaml
The perl command fails at image version >5.34: ``` > docker run -it perl:5.36 bash ... root@783a8ea24899:/# perl -Mbignum=bpi -wle "print bpi(2000)" Can't use an undefined value as an ARRAY reference at /usr/local/lib/perl5/5.36.0/Math/BigInt/Calc.pm line 1049.``` > docker run -it perl:5.35 bash ... docker: Error response from daemon: manifest for perl:5.35 not found: manifest unknown: manifest unknown.``` > docker run -it perl:5.34 bash ... root@d4efc70c15b5:/# perl -Mbignum=bpi -wle "print bpi(2000)" 3.141592653589793238... ```
1 parent 9ae05ea commit 1ee7c15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/en/examples/controllers/job.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ spec:
77
spec:
88
containers:
99
- name: pi
10-
image: perl
10+
image: perl:5.34
1111
command: ["perl", "-Mbignum=bpi", "-wle", "print bpi(2000)"]
1212
restartPolicy: Never
1313
backoffLimit: 4

0 commit comments

Comments
 (0)