You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The reason will be displayed to describe this comment to others. Learn more.
There are few things I do not quite understand in this commit. Maybe you can help me with that.
Why adding user-specific repo url to the "official" one?
Why do we need submodule at all? I probably misunderstand something, but after reading article linked in commit message I think we may be mixing two solution here. My understanding is that "Git submodules inside Dockerfile repository" solution is for project where Dockerfile is a separate project and one uses the code from another git repo to build inside docker container. In our case I think "Dockerfile inside git repository" solution applies, so there should be no issue with caching since you always build the code that is currently checked-out together with Dockerfile. You just do COPY ./ /src/dir/in/docker in the Dockerfile and current code gets copied there. Again, I am likely missing something here.
One more, minor thing: I think commit message could be little bit better :)
Especially if you look at the output of the shortlog for this PR (git shortlog 4609b56ab52c^2) it's little bit confusing (at least to me). I am big proponent of writing good commit messages and I always take opportunity to encourage people to follow this guidelines: https://chris.beams.io/posts/git-commit/ , or if that's too much to read, at least have a look here: https://github.com/erlang/otp/wiki/writing-good-commit-messages :)
3a4a300
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.
There are few things I do not quite understand in this commit. Maybe you can help me with that.
COPY ./ /src/dir/in/docker
in the Dockerfile and current code gets copied there. Again, I am likely missing something here.One more, minor thing: I think commit message could be little bit better :)
Especially if you look at the output of the shortlog for this PR (
git shortlog 4609b56ab52c^2
) it's little bit confusing (at least to me). I am big proponent of writing good commit messages and I always take opportunity to encourage people to follow this guidelines: https://chris.beams.io/posts/git-commit/ , or if that's too much to read, at least have a look here: https://github.com/erlang/otp/wiki/writing-good-commit-messages :)3a4a300
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.
@LynxAbraxas , any chance you could response to my comments above?
3a4a300
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.
See my other comments, e.g. #13 (comment) and 09c0e4f#commitcomment-31176356.