-
Notifications
You must be signed in to change notification settings - Fork 18.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_VERSION and docker-version havn't been implemented. #8673
Conversation
So far, it looks like the declarations are not used, and so its safer not to confuse people into thinking they do something. Docker-DCO-1.1-Signed-off-by: Sven Dowideit <SvenDowideit@docker.com> (github: SvenDowideit)
LGTM |
@SvenDowideit no yelling, this is worth the cache bust |
+1000 LGTM I always hated this line. Also, the builder ignores unknown instructions, so in theory, this shouldn't be a cache-bust. |
On Tue, Oct 21, 2014 at 04:37:33PM -0700, Tianon Gravi wrote:
Is this really a good idea? It's going to make breakage like the ADD “unrecognized command 'COPY', please upgrade your Docker installation” (see #7471, but I'm not sure what the actual error would have been). Personally, I think specifying a minimum Docker(file) version is a Having explicit Dockerfile versions would also make it possible for This is a drive-by comment, so apologies if I'm just missing context |
LGTM |
On Tue, Oct 21, 2014 at 09:11:30PM -0700, Sven Dowideit wrote:
Ah. That makes sense to me :). |
@wking yes, I'd love to see it supported as well, but if it's basically just clutter at this moment, it's best to remove it (for now), otherwise people have false expectations that it's actually doing something. So fwiw, LGTM |
LGTM I just put it bc the other ones have it |
we should definitely be using our own best practices to set an example for others, which reminds me I wanted to cleanup the apt-get's in the docs Dockerfile ;) |
LGTM |
1006 LGTM's (if i generously interpret @crosbymichael 's comment as one :) so I'm just going to merge |
DOCKER_VERSION and docker-version havn't been implemented.
DOCKER_VERSION and docker-version havn't been implemented. (cherry picked from commit bb3e331)
So far, it looks like the declarations are not used, and so its safer not to
confuse people into thinking they do something.
Docker-DCO-1.1-Signed-off-by: Sven Dowideit SvenDowideit@docker.com (github: SvenDowideit)
@tianon when was the last time someone made sure that our main
Dockerfile
worked on Docker 0.6.1, and are we really intending to send that message?@jfrazelle are you suggesting that your Dockerfiles cannot be used with older Docker daemons? - and which is it :) (I know where these came from)
@me - seriously, do you really thing Docker 0.3 is something we want to bring up in the docs?
On a serious note - is this INSTRUCTION being worked on, in which case I'll reduce the scope to the documentation examples, where its distracting, or can we move on?
@crosbymichael feel free to yell at me about busting the cache - maybe we can use the golang:1.3-onbuild image - its only 1.5GB big >:+