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

parse error: Invalid numeric literal at line 1, column 7 #81

Open
cep21 opened this issue Jan 15, 2023 · 1 comment
Open

parse error: Invalid numeric literal at line 1, column 7 #81

cep21 opened this issue Jan 15, 2023 · 1 comment
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@cep21
Copy link

cep21 commented Jan 15, 2023

I have a file named pgadmin.dockerfile and it fails hadolint with

  parse error: Invalid numeric literal at line 1, column 7
  reviewdog: failed to unmarshal rdjson (DiagnosticResult): proto: syntax error (line 1:1): unexpected token 

I then rename the file from pgadmin.dockerfile to Dockerfile

diff --git a/Dockerfile b/pgadmin.dockerfile
similarity index 100%
rename from Dockerfile
rename to pgadmin.dockerfile

And the build works.

@mgrachev mgrachev added bug Something isn't working help wanted Extra attention is needed labels Jan 19, 2023
@jonstrutz11
Copy link

Having the same issue here - this seems to also happen if there aren't actually any dockerfiles to lint

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants