I have an Node.js image that inherits from
alpine:3.6, it does multi-directory move (e.g.
mv dir1 dir2 destdir) as Dockerfile
CMD. It seems behave incorrectly on Docker Hub’s automated builds, while perfectly fine locally.
The resulting directory structure is correct, however file contents within the directory are all messed up. For example the
.html file somehow contains the content of a
.js file. The same build has no problem locally (Ubuntu with Docker PPA).
My initial investigation shows that
cp -r works as intended.
Is this a bug?