Skip to content

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

@baruchoxman

Description

@baruchoxman

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions