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

docker image fails to build #1245

Closed
nelimee opened this issue Jun 16, 2020 · 0 comments · Fixed by #1247
Closed

docker image fails to build #1245

nelimee opened this issue Jun 16, 2020 · 0 comments · Fixed by #1247

Comments

@nelimee
Copy link

nelimee commented Jun 16, 2020

As described in this comment, the docker image fails to build with the message

Step 8/20 : RUN crystal build ./src/invidious.cr     --static --warnings all --error-on-warnings     --link-flags "-lxml2 -llzma"
 ---> Running in 35591962efa4
Showing last frame. Use --error-trace for full trace.

In src/invidious.cr:26:1

 26 | require "compress/zip"
      ^
Error: can't find file 'compress/zip'

If you're trying to require a shard:
- Did you remember to run `shards install`?
- Did you make sure you're running the compiler in the same directory as your shard.yml?
ERROR: Service 'invidious' failed to build: The command '/bin/sh -c crystal build ./src/invidious.cr     --static --warnings all --error-on-warnings     --link-flags "-lxml2 -llzma"' returned a non-zero code: 1

Tested with commit 074497b.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant