Skip to content

Instantly share code, notes, and snippets.

@dqminh
Created September 26, 2014 03:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dqminh/1de3a3bfcf7d58480c56 to your computer and use it in GitHub Desktop.
Save dqminh/1de3a3bfcf7d58480c56 to your computer and use it in GitHub Desktop.
# Dockerfile
ENV name value
ENV name2 value2
VOLUME /test1
# EOF
# normal AST
(env name value)
(env name2 value2)
(volume /test1)
#EOF
# optimized AST, this merges sequential ENV together into an array of ENVs
(env name=value name2=value2)
(volume /test1)
# EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment