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

ENV invalid when environment variable contains excaped $ #59

Open
tseglevskiy opened this issue Sep 27, 2018 · 1 comment
Open

ENV invalid when environment variable contains excaped $ #59

tseglevskiy opened this issue Sep 27, 2018 · 1 comment

Comments

@tseglevskiy
Copy link

tseglevskiy commented Sep 27, 2018

I can not find the way to escape the variable value:

ENV SOME_PASSWORD=ASDFLKJSDLKFJK?^\$9

The $ sign is not variable - it is escaped. For me and docker it's ok, I get correct value inside docker, but dockerlint complains:

docker run -it --rm -v "$PWD/Dockerfile":/Dockerfile:ro redcoolbeans/dockerlint
ERROR: ENV contains undefined ARG or ENV variable on line 13
ERROR: Lines cannot have trailing spaces

ERROR: /Dockerfile failed.

Is it bug or feature? How to hold such values in the Dockerfile?

I use latest version:
redcoolbeans/dockerlint latest bf4955dfb649 11 days ago 41.5MB

@rnagy rnagy closed this as completed in ea96374 Nov 10, 2018
@rnagy rnagy reopened this Nov 10, 2018
@rnagy
Copy link
Contributor

rnagy commented Nov 10, 2018

I cannot reproduce this issue.

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