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
If a file that is a hard link is ADDed into a container, the cache is not invalidated when the contents change.
Steps to reproduce the issue:
$ touch a
$ ln a b
$ cat Dockerfile
FROM busybox
ADD b b
CMD md5sum b
$ docker build . -t s && docker run s && md5sum a b
$ # modify a
$ docker build . -t s && docker run s && md5sum a b # this does not rebuild
Describe the results you received:
The container didn't rebuild / invalidate the cache.
Description
If a file that is a hard link is
ADD
ed into a container, the cache is not invalidated when the contents change.Steps to reproduce the issue:
Describe the results you received:
The container didn't rebuild / invalidate the cache.
Describe the results you expected:
The container to be rebuilt.
Output of
docker version
:Output of
docker info
:The text was updated successfully, but these errors were encountered: