Skip to content
This repository was archived by the owner on May 8, 2025. It is now read-only.

Conversation

@DevineLiu
Copy link

executor failed running [/bin/sh -c test -n "$FLINK_VERSION"] ,because in the "FROM" stage, the arg is initialized.

executor failed running [/bin/sh -c test -n "$FLINK_VERSION"]  ,because  in the from stage, the arg is initialized.
@DevineLiu
Copy link
Author

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:

@DevineLiu
Copy link
Author

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant