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

Wrong error when creating a docker file that is using a base image from an argument #197

Open
baruchoxman opened this issue May 12, 2023 · 1 comment

Comments

@baruchoxman
Copy link

I have created a docker file that gets the base image name from a variable:

ARG BASE_IMAGE=my-image:base

# Use the base image
FROM $BASE_IMAGE
...

And I get the following error:

Issues: 1

Line 4: FROM $BASE_IMAGE
Issue  Category      Title                 Description
    1  Clarity       Base Image Missing    Base images should specify a tag to use.
                     Tag
@make-github-pseudonymous-again
Copy link

make-github-pseudonymous-again commented Feb 16, 2025

This is a duplicate of:

Which was fixed with:

However there has not been a new release since #151 was merged which is why the bug can still be reproduced. See:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants