Skip to content

Instantly share code, notes, and snippets.

@jvrck
Created August 1, 2022 22:59
Show Gist options
  • Select an option

  • Save jvrck/74b2f0a7271f9e3d5e7a8f3c7cc8bd7c to your computer and use it in GitHub Desktop.

Select an option

Save jvrck/74b2f0a7271f9e3d5e7a8f3c7cc8bd7c to your computer and use it in GitHub Desktop.

Revisions

  1. jvrck created this gist Aug 1, 2022.
    3 changes: 3 additions & 0 deletions docker-build-args.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    # Takes args from build.args file

    docker build -t new-tag-name $(for i in `cat build.args`; do out+="--build-arg $i " ; done; echo $out;out="") .