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

Failed to generate a docker image #18

Open
ddompe opened this issue Feb 24, 2023 · 1 comment
Open

Failed to generate a docker image #18

ddompe opened this issue Feb 24, 2023 · 1 comment
Labels
A-bug Something isn't working

Comments

@ddompe
Copy link

ddompe commented Feb 24, 2023

Issue description

I'm trying to generate a docker image to run Eris from a container, but docker fails with invalid reference format when running docker load

Steps to reproduce

$ nix-build  -Q release.nix -A docker
$ docker load < result
..
fb4f86d9d4c0: Loading layer [==================================================>]  921.6kB/921.6kB
invalid reference format

Technical details

$ printf ' - eris revision: ' && echo $(git rev-parse HEAD) && nix run nixpkgs.nix-info -c nix-info -m
 - eris revision: 0e321f3d2d44f96712768d54e89088b46ad1693a
error: unrecognised flag '-c'
Try 'nix --help' for more information.

$ docker --version
Docker version 20.10.18, build b40c2f6
@ddompe ddompe added the A-bug Something isn't working label Feb 24, 2023
@ddompe
Copy link
Author

ddompe commented Feb 24, 2023

Fixed by commenting the line:

tag = eris.version;

Look like the computed version is an invalid string for docker

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant