Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't use tags in image names #61

Open
paleozogt opened this issue Feb 26, 2020 · 0 comments
Open

can't use tags in image names #61

paleozogt opened this issue Feb 26, 2020 · 0 comments

Comments

@paleozogt
Copy link

paleozogt commented Feb 26, 2020

Consider this DockerMake.yml:

"foo:bar":
    FROM: ubuntu:trusty

With DockerMake 0.8, it will build fine. However, with 0.9 it fails:

➜  docker-make --version
docker-make version 0.9.0
➜  docker-make "foo:bar"
Working directory: /home/apollo/Development/test
Copy cache directory: /tmp
READING DockerMake.yml

Requested images: foo:bar

==========================================================================================================================================================================================================================================
                                                                             STARTING BUILD for "foo:bar" (image definition "foo:bar" from ./DockerMake.yml)

* Step 1/1 for image foo:bar
  Building step foo:bar defined in ./DockerMake.yml
  --------------------------------------------------------------------------------   1.foo:bar.dmk:c6f3faab-43e9-476a-aa89-df4f6a22bd80: BUILD LOG   --------------------------------------------------------------------------------
FATAL ERROR: Docker build failure

   -------- Docker daemon output --------
'500 Server Error: Internal Server Error ("invalid reference format")'
   -------- Arguments to client.build --------
{   'buildargs': None,
    'decode': True,
    'dockerfile': None,
    'fileobj': <_io.BytesIO object at 0x7f1012e4b0a0>,
    'nocache': False,
    'path': None,
    'pull': False,
    'rm': True,
    'squash': False,
    'tag': '1.foo:bar.dmk:c6f3faab-43e9-476a-aa89-df4f6a22bd80'}
This dockerfile was written to dockerfile.fail
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant