Closed markphelps closed 6 years ago
Why not? Doesn't image in the case of a present Dockerfile, just mean the tagged name of the image once built from the Dockerfile?
i.e. docker build -t some-name -f some.Dockerfile .
docker build -t some-name -f some.Dockerfile .
UPDATE: or is that only supported beneath the build: key?
build:
After talking with @GeorgeMac he is correct, you aren't allowed to have an image and dockerfile only beneath a build key
Why not? Doesn't image in the case of a present Dockerfile, just mean the tagged name of the image once built from the Dockerfile?
i.e.
docker build -t some-name -f some.Dockerfile .
UPDATE: or is that only supported beneath the
build:
key?