I'm seeing below error while running ubuntu-docker image that I built using following Dockerfile. Need some advice what am I missing here:
Dockerfile :
FROM scratch ADD https://partner-images.canonical.com/core/bionic/current/ubuntu-bionic-core-cloudimg-amd64-root.tar.gz / ENTRYPOINT ["/bin/bash"]
$ docker run -it --entrypoint /bin/bash d36318a56ad3
/usr/bin/docker-current: Error response from daemon: invalid header field value "oci runtime error: container_linux.go:247: starting contaiused "exec: \"/bin/bash\": stat /bin/bash: no such file or directory"\n".
instead of using https link to the tar.gz file
download the tar.gz file locally
and do an add with the local file
and Dockerfile starts with