Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

InvalidDefaultArgInFrom: Default value for ARG results in empty or invalid base image name #1015

Closed
antoineco opened this issue Sep 14, 2024 · 0 comments
Labels
bug Something isn't working as expected

Comments

@antoineco
Copy link
Collaborator

antoineco commented Sep 14, 2024

I noticed the following warning today while spawning a new stack:

=> WARN: InvalidDefaultArgInFrom: Default value for ARG docker.elastic.co/elasticsearch/elasticsearch:${ELASTIC_VERSION} results in empty or invalid base image name (line 4)

Nothing critical, but we should probably set a default value for all build ARGs to avoid scaring users.

ARG ELASTIC_VERSION

Ref. https://docs.docker.com/reference/build-checks/invalid-default-arg-in-from/

@antoineco antoineco added the bug Something isn't working as expected label Sep 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working as expected
Projects
None yet
Development

No branches or pull requests

1 participant