Commit f7997d0d authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Fix parsing of build args in build-image template

parent 5b19ae8c
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -72,10 +72,10 @@ Build:
    . build.env
  - |
    : buildctl build ...
    opts() { test $# -eq 0 || printf "--opt build-arg:%s" "$@"; }
    opts() { test $# -eq 0 || printf " --opt\0build-arg:%s\0" "$@"; }
    build()
    {
      opts "$@" | xargs buildctl build \
      opts "$@" | xargs -0 buildctl build \
      --frontend dockerfile.v0 \
      --local context=. \
      --local dockerfile=. \