-
-
Notifications
You must be signed in to change notification settings - Fork 775
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
cannot run docker-compose up --build #5549
Comments
Same here running into the same issue Seems to be an issue with the vips package i.e. # Install general dependencies.
RUN apk add --no-cache --update $PACKAGES && \
apk add --no-cache --update --repository http://dl-cdn.alpinelinux.org/alpine/edge/community/ vips && \
apk add --no-cache --update --virtual .builder $BUILD_DEPS So maybe if we remove this, it will work, what do you think? Thanks |
There is a good solution for this issue. The vips package will be installed from community repo and libheif from main. I'm preparing a PR with this solution. @mul1sh, you can use it to unblock your work on #5281 meanwhile: # Install general dependencies.
RUN apk add --no-cache --update $PACKAGES && \
apk add --no-cache --update --repository http://dl-cdn.alpinelinux.org/alpine/edge/main/ --repository http://dl-cdn.alpinelinux.org/alpine/edge/community/ vips && \
apk add --no-cache --update --virtual .builder $BUILD_DEPS |
Thank you ! |
@Korridzy thanks, this seems to work though now it's hanging at the installing vips command i.e. |
Yes, it looks like problem is a bit more complex. Containers were created succesfully in my environment. But 'web', 'scheduler' and 'worker' now can't start with similar messages like:
Investigation is in process |
probably related alpinelinux/docker-alpine#49 |
the blame commit alpinelinux/aports@2f6bc1c |
ok seems this worked, #5553 you can try that changes locally until we figure out a better solution |
@octavioamu thanks for the follow-up and the Dockerfile update, but still no luck in getting this work even with the command updates. I'm now getting the following error ERROR: Command errored out with exit status 1:
command: /usr/local/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-2iyl7n63/secp256k1/setup.py'"'"'; __file__='"'"'/tmp/pip-install-2iyl7n63/secp256k1/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-63nn0nwo --python-tag cp37
cwd: /tmp/pip-install-2iyl7n63/secp256k1/
Complete output (210 lines):
...
ERROR: Failed building wheel for secp256k1 I think its because of the alpine update. |
@octavioamu Yes I did because #5554 was merged into the repo whereas #5553 was closed. Anyway thanks for the heads up, let me test again with #5553 |
sorry about that @mul1sh ! goofup at my end @Fatima-yo could you pull in master and try again ! Hopefully that should work |
Yes, will do and let you know the results here. |
@thelostone-mc no worries, thanks for the update 🙂 . I'll test later today then. |
UPDATE: this still seems to be an issue ! mind giving us a day to figure it out ? |
OK waiting for your ready-steady-go signal |
@Fatima-yo + @mul1sh So I've got a working setup over at Figuring out the breaking dependencies wasn't easy and every combination we tried had some issues with it. |
Great! |
When you do get the time , could you pull in the latest master branch and rebuild the container. Thanks for reporting it and being super patient ^_^ |
Yeah will do |
@thelostone-mc kindly check my last comment and tell me if I should test anything else. |
@mul1sh are you sure about having the latest docker version? |
@mul1sh be sure you run a fresh installation |
@Fatima-yo Yep i'm using the latest docker version 2.10.5 @octavioamu Yes i'm aslo running a fresh installation, infact i'm purging the old containers at every retry and clearing my cache just in case, but no luck it always fails at the above line. |
As I see on the error seems you are under some vpn or something on your network is blocking the connection. If you have a vpn try using it. Or not sure if your up is fixed, try to reload your modem to see if with another up works |
@octavioamu ok let me try switching ISP's and see if it helps, thanks |
@thelostone-mc kindly let me know when should I close this issue |
@Fatima-yo SOLIDD :D ❤️ We are good to close the issue ! @mul1sh I've gotten that error cause of network being blocked ! |
I am closing issue as it was resolved |
@mul1sh were you able to solve your problem? |
@octavioamu I was 🙂, thanks. |
Describe the bug
While trying to get the local docker repo up and running, I get to the step when I must run " docker-compose up --build" and I get and error.
To Reproduce
https://docs.gitcoin.co/mk_setup/
docker-compose up --build
Expected behavior
The docker container should start up.
Screenshots
I get the following error displayed on the console:
ERROR: unsatisfiable constraints:
so:libheif.so.1 (missing):
required by: vips-8.8.3-r2[so:libheif.so.1]
vips-8.8.3-r2[so:libheif.so.1]
vips-8.8.3-r2[so:libheif.so.1]
ERROR: Service 'web' failed to build: The command '/bin/sh -c apk add --no-cache --update $PACKAGES && apk add --no-cache --update --repository http://dl-cdn.alpinelinux.org/alpine/edge/community/ vips && apk add --no-cache --update --virtual .builder $BUILD_DEPS' returned a non-zero code: 2
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: