Open DevineLiu opened 3 years ago
An ARG declared before a FROM is outside of a build stage, so it can’t be used in any instruction after a FROM. To use the default value of an ARG declared before the first FROM use an ARG instruction without a value inside of a build stage:
executor failed running [/bin/sh -c test -n "$FLINK_VERSION"] ,because in the "FROM" stage, the arg is initialized.