gvee-uk opened a new pull request #16608:
URL: https://github.com/apache/superset/pull/16608


   ### SUMMARY
   
   Windows users encounter problems running the `docker-compose` commands
    to run an instance of Superset.
   
   The reason for this is line-endings for the `*.sh` files that are
    mounted and used in the `command` sections for the superset images.
   
   Many Windows users will check the repository out with line endings set
    to `CRLF`. When mounted in to the *nix-based containers, these line
    endings are not understood, leading to errors such as:
   
   ```text
   /usr/bin/env: bash\r: No such file or directory
   ```
   
   The addition of a `.gitattributes` file resolves this issue by telling
    git to always resolve these files with `LF` line endings.
   
   fixes #10132
   
   ### ADDITIONAL INFORMATION
   
   - [ ] Has associated issue:
   - [ ] Required feature flags:
   - [ ] Changes UI
   - [ ] Includes DB Migration (follow approval process in 
[SIP-59](https://github.com/apache/superset/issues/13351))
     - [ ] Migration is atomic, supports rollback & is backwards-compatible
     - [ ] Confirm DB migration upgrade and downgrade tested
     - [ ] Runtime estimates and downtime expectations provided
   - [ ] Introduces new feature or API
   - [ ] Removes existing feature or API
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to