-
-
Notifications
You must be signed in to change notification settings - Fork 10.9k
Add Dockerfile #5169
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
Add Dockerfile #5169
Conversation
Dockerfile
Outdated
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.
What's this for? If cleaning: is there an apt command that can be used instead?
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.
This is what they recommend as a best practice in the docker documentation. I'm not sure if there's an apt command that can be used instead; I've always seen it like this.
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.
I would have expected apt-get clean to have an option to remove /var/lib/apt/lists, but I was not able to find such an option. See https://linux.die.net/man/8/apt-get
Dockerfile
Outdated
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.
Is this standard practise for Docker?
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.
I didn't see it recommended on the official docker website, but I see something similar here:
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.
Standard practice for Docker is to leave the user as root, but brew refuses to run as root.
Minor style point, I can instead put this file in /etc/sudoers.d/. Any preference?
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.
Minor style point, I can instead put this file in
/etc/sudoers.d/. Any preference?
No preference from me; I defer.
|
I hope that this can instead be named Same for the recently added azure thingy; can it be The other CI/auxiliary support stuff in the root dir are all dotfiles: |
We're using the default names for both because almost all tooling expects them to have those names. Now that this stuff isn't in the |
scpeters
left a comment
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.
brew doctor is clean now; nice work
|
Sure, I'll review it in between meetings today. |
|
Merged! I'll set up a Docker Hub build now. |
|
nice work! I was just experimenting with it and noticed a problem with the |
|
Yes, please! |
No description provided.