Skip to content

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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