Problem statement: I need to pull docker(projectA and projectB) from two different urls based on the arg provided.
ARG url=docker-local.artifactory.com/projectA #By default its for A.
RUN echo ${url}
FROM $url
Ideal Solution:
docker build -t hello . should build docker of project A
docker build --build-arg url="docker-local.artifactory.com/projectB" -t hello . should build docker of project B.
Current Issue:
"base name ($url) should not be blank"