I keep my image on a fork repo of the official docker ubuntu images, the Dockerfile
I am working on is in another repo I am trying to mention the relative path to the image like this:
FROM scratch
ADD ./../../../Dev-Ops-docker-brew-ubuntu-core/bionic/ubuntu-bionic-core-cloudimg-amd64-root.tar.gz /
but it doesn´t work, I get
=> ERROR [1/4] ADD ./../../../Dev-Ops-docker-brew-ubuntu-core/bionic/ubuntu-bionic-core-cloudimg-amd64-root.tar. 0.0s
------
> [1/4] ADD ./../../../Dev-Ops-docker-brew-ubuntu-core/bionic/ubuntu-bionic-core-cloudimg-amd64-root.tar.gz /:
------
failed to compute cache key: "/Dev-Ops-docker-brew-ubuntu-core/bionic/ubuntu-bionic-core-cloudimg-amd64-root.tar.gz" not found: not found
P
Is there a way to specify the path of the image or to reference the image I don´t want it to add it also in this git repo?