I have specified a git clone command in the docker file as below.
RUN git clone https://github.com/zhaoyi0113/test.git but I got this error when build the docker image:
Cloning into 'test'... fatal: could not read Username for 'https://github.com': No such device or address I wonder why it doesn't work. I am able to run this command on my host. Is there anything different if I list it on docker file?
docker buildcaching if the repository updates you won't actually get updated code in your image.