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

Support for ARG #37

Closed
hobti01 opened this issue Aug 25, 2017 · 1 comment · Fixed by #38
Closed

Support for ARG #37

hobti01 opened this issue Aug 25, 2017 · 1 comment · Fixed by #38

Comments

@hobti01
Copy link
Contributor

hobti01 commented Aug 25, 2017

Issue details

Unfortunately the ARG instruction is not supported the way that ENV is, causing incorrect errors.

Steps to reproduce/test case

FROM scratch
ARG HOME=/home/app
WORKDIR $HOME
docker run -v "$PWD/Dockerfile":/Dockerfile:ro redcoolbeans/dockerlint
...
ERROR: WORKDIR path $HOME contains undefined ENV variable on line 3
ERROR: /Dockerfile failed.

Affected version(s)

0.3.1

        "RepoTags": [
            "redcoolbeans/dockerlint:latest"
        ],
        "RepoDigests": [
            "redcoolbeans/dockerlint@sha256:5c11597ac2ed10d2aa32db3360548b8fe9635a52078c05778d17f6359b96f2f1"
        ],
        "Parent": "",
        "Comment": "",
        "Created": "2017-08-25T06:00:29.762704377Z",
@hobti01
Copy link
Contributor Author

hobti01 commented Nov 20, 2017

Any chance of a new release to incorporate the fixes since April?

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

Successfully merging a pull request may close this issue.

1 participant