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

Fix/unable to build docker image on windows errors #383

Open
wants to merge 2 commits into
base: v2.9.2
Choose a base branch
from

Conversation

AreebAhmad-02
Copy link

Issue #, if available:
#275 #279
Description of changes:

If we are using Windows, we may need to run the following commands to adjust line endings in the script files before building the docker image. Windows often modifies line endings in .sh files, which can cause issues. I faced this issue every time I tried to run MWAA on my local machine with docker and wsl2 installed. The commands below will convert the line endings to Unix format:

sed -i -e 's/\r$//' docker/script/bootstrap.sh
sed -i -e 's/\r$//' docker/script/systemlibs.sh
sed -i -e 's/\r$//' docker/script/generate_key.sh

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

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 this pull request may close these issues.

1 participant