Skip to content
This repository has been archived by the owner on Sep 2, 2022. It is now read-only.

fix bug for ARG overload #456

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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.

None yet

1 participant