romanz / electrs

An efficient re-implementation of Electrum Server in Rust
MIT License
1.1k stars 407 forks source link

Bug: Docker warning "FromAsCasing" #1085

Closed menaceone closed 1 month ago

menaceone commented 1 month ago

Describe the bug The Dockerfile contains inconsitent usage of upper/lower casing for keywords. The as are lower case, everything else is upper case. This results in a Docker warning:

3 warnings found (use docker --debug to expand):
 - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 5)
 - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 10)
 - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 20)

Electrs version v0.10.6

To Reproduce Steps to reproduce the behavior:

  1. clone project
  2. start Docker build
  3. see warning

Expected behavior No warnings in executing the Docker build.

System running electrs