-
Notifications
You must be signed in to change notification settings - Fork 17.6k
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
Docker: Fix git perms issue during copter build #28427
Docker: Fix git perms issue during copter build #28427
Conversation
@rmackay9 maybe could you have a look at this one |
@henrywarhurst shouldn't you do this on host ? |
@khancyr maybe I'm not sure what you mean, but the problem seems localized to inside the container. Open to other ideas, but git doesn't seem broken on the host side, all the usual git commands work on host side without issue, and not in the container. Lmk though! Maybe I'm misunderstanding your point |
When I run
Outside the container on the host, |
fb61a2a
to
cfee891
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, could you just move it before L36 where we call install-prereqs-ubuntu.sh ? there is a git call in it
and it should be good.
I assume that is some macos permission thingsbut it shouldn't bother on linux side
cfee891
to
70c44cd
Compare
done @khancyr. Yeah probably an OSX specific issue EDIT: |
6d41fbd
to
581eb18
Compare
@khancyr would you mind having another look and approving if this looks good? |
friendly ping @khancyr |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good for the code.
For the commit style : you need to rebase to get ride of the merge commit.
And start the commit msg with "Docker:" so we can track it is docker change ! And it should be good to merge
1308488
to
e58a78c
Compare
Thanks @khancyr. I cleaned up the commit history |
e74f21f
to
6e066c5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
thanks @khancyr. Any idea why this isn't merging on its own? |
6e066c5
to
3d7702a
Compare
@henrywarhurst we don't have automerge so a maintainer need to manual action to merge it |
3d7702a
to
0dd9214
Compare
Merged, thanks! |
I encountered the follow issue during the docker build:
My system:
15.0.1 (24A348)
4.33.0 (160616)