I have a few docker images that source their image from the okteto.yml
argument ${OKTETO_BUILD_NAME_IMAGE}
like so:
todo-api:
context: .
dockerfile: samples/todo-api/Dockerfile
depends_on: dev
args:
SOURCE_IMAGE: ${OKTETO_BUILD_DEV_IMAGE}
this has worked for awhile, my docker image just declares the arg
and then does its FROM MYARG
. However, my okteto builds have begun to fail saying
base name ($SOURCE_IMAGE) should not be blank
Which is odd since nothing has changed in regards to these images in awhile. I do build my dev
image first , which suceeds and this is the image all my other docker files depend on, after this, any image fails to build since it has an empty base name.