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

fix bug for ARG overload#456

Open
DevineLiu wants to merge 1 commit intoGoogleCloudPlatform:masterfrom
DevineLiu:master
Open

fix bug for ARG overload#456
DevineLiu wants to merge 1 commit intoGoogleCloudPlatform:masterfrom
DevineLiu:master

Conversation

@DevineLiu
Copy link
Copy Markdown

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
Copy Markdown
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
Copy Markdown
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