(command.CommandList
  children: [
    (C {(Id.KW_Set set)} {(-o)} {(errexit)})
    (C {(Id.KW_Set set)} {(-o)} {(nounset)})
    (C {(Id.KW_Set set)} {(-o)} {(pipefail)})
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name name:KUBE_ROOT)
          op: assign_op.Equal
          rhs: 
            {
              (command_sub
                left_token: (Token id:Id.Left_DollarParen val:'$(' span_id:74)
                command_list: 
                  (command.CommandList
                    children: [(C {(dirname)} {(DQ (${ Id.VSub_Name BASH_SOURCE))})]
                  )
              ) (/..)
            }
          spids: [73]
        )
      ]
    )
    (C {(source)} {(DQ ($ Id.VSub_DollarName '$KUBE_ROOT') (/build/common.sh))})
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name name:KUBE_RUN_COPY_OUTPUT)
          op: assign_op.Equal
          rhs: 
            {
              (DQ 
                (braced_var_sub
                  token: (Token id:Id.VSub_Name val:KUBE_RUN_COPY_OUTPUT span_id:96)
                  suffix_op: (suffix_op.Unary op_id:Id.VTest_ColonHyphen arg_word:{(y)})
                )
              )
            }
          spids: [93]
        )
      ]
    )
    (C 
      {(kube) (Id.Lit_Other ':') (Id.Lit_Other ':') (build) (Id.Lit_Other ':') (Id.Lit_Other ':') 
        (verify_prereqs)
      }
    )
    (C 
      {(kube) (Id.Lit_Other ':') (Id.Lit_Other ':') (build) (Id.Lit_Other ':') (Id.Lit_Other ':') 
        (build_image)
      }
    )
    (command.If
      arms: [
        (if_arm
          cond: [
            (command.Sentence
              child: 
                (command.DBracket
                  expr: 
                    (bool_expr.Binary
                      op_id: Id.BoolBinary_EqualTilde
                      left: {(${ Id.VSub_Name KUBE_RUN_COPY_OUTPUT)}
                      right: 
                        {(Id.Lit_Other '^') (Id.Lit_Other '[') (yY) (Id.Lit_Other ']') 
                          (Id.Lit_Other '$')
                        }
                    )
                )
              terminator: (Token id:Id.Op_Semi val:';' span_id:137)
            )
          ]
          action: [
            (C 
              {(kube) (Id.Lit_Other ':') (Id.Lit_Other ':') (log) (Id.Lit_Other ':') (Id.Lit_Other ':') 
                (status)
              } 
              {
                (DQ 
                  (
'Output from this container will be rsynced out upon completion. Set KUBE_RUN_COPY_OUTPUT=n to disable.'
                  )
                )
              }
            )
          ]
          spids: [120 139]
        )
      ]
      else_action: [
        (C 
          {(kube) (Id.Lit_Other ':') (Id.Lit_Other ':') (log) (Id.Lit_Other ':') (Id.Lit_Other ':') 
            (status)
          } 
          {
            (DQ 
              (
'Output from this container will NOT be rsynced out upon completion. Set KUBE_RUN_COPY_OUTPUT=y to enable.'
              )
            )
          }
        )
      ]
    )
    (C 
      {(kube) (Id.Lit_Other ':') (Id.Lit_Other ':') (build) (Id.Lit_Other ':') (Id.Lit_Other ':') 
        (run_build_command)
      } {(DQ ($ Id.VSub_At '$@'))}
    )
    (command.If
      arms: [
        (if_arm
          cond: [
            (command.Sentence
              child: 
                (command.DBracket
                  expr: 
                    (bool_expr.Binary
                      op_id: Id.BoolBinary_EqualTilde
                      left: {(${ Id.VSub_Name KUBE_RUN_COPY_OUTPUT)}
                      right: 
                        {(Id.Lit_Other '^') (Id.Lit_Other '[') (yY) (Id.Lit_Other ']') 
                          (Id.Lit_Other '$')
                        }
                    )
                )
              terminator: (Token id:Id.Op_Semi val:';' span_id:202)
            )
          ]
          action: [
            (C 
              {(kube) (Id.Lit_Other ':') (Id.Lit_Other ':') (build) (Id.Lit_Other ':') (Id.Lit_Other ':') 
                (copy_output)
              }
            )
          ]
          spids: [185 204]
        )
      ]
    )
  ]
)