Builtin args
Builtin args are variables with values automatically filled-in by Earthly.
The value of a builtin arg can never be overridden. However, you can always have an additional ARG
, which takes as the default value, the value of the builtin arg. The additional arg can be overridden. Example
Important
In contrast to Dockerfile predefined args, Earthly builtin args need to be pre-declared before they can be used. For example
The following builtin args are available
requires use of feature-flag, for example:
VERSION --earthly-version-arg 0.6
.
Note
The classical Dockerfile predefined args are currently not available in Earthly.
Last updated