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

Add Git to nanoserver image? #140

Closed
StefanScherer opened this issue Jan 23, 2017 · 2 comments
Closed

Add Git to nanoserver image? #140

StefanScherer opened this issue Jan 23, 2017 · 2 comments

Comments

@StefanScherer
Copy link

I recently tried to build docker/distribution in a nanoserver container.

The golang nanoserver image does not contain Git, only the windowsservercore variant.
I've installed it in my Dockerfile like this:
https://github.com/StefanScherer/dockerfiles-windows/blob/master/registry/build/Dockerfile#L8-L16

Is it worth to send a PR? 😀

@yosifkit
Copy link
Member

I would call this a duplicate of #119; we consider nanoserver similar to the slim variant.

@StefanScherer
Copy link
Author

OK, I understand and haven't seen that comment in the Dockerfile. So I close this issue and leave the Git install commands in my Dockerfile also as an example how to do it in nanoserver.

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

No branches or pull requests

2 participants