Skip to content

Detect value set previously by ENV #1

@lstocchi

Description

@lstocchi

If a Dockerfile contains a env variable set and then used, the analyzer should get the actual value and analyze it.

ENV HTTP_PORT=8080

EXPOSE $HTTP_PORT

Now it prints this output

1 - strconv.Atoi: parsing "$HTTP_PORT": invalid syntax

2 - port 0 exposed at line 30 could be wrong. TCP/IP port numbers below 1024 are privileged port numbers

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