-
-
Notifications
You must be signed in to change notification settings - Fork 176
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 Build Error #164
Comments
Oh I hate alpine for this reason, they remove packages, we'll need to move this image to Debian. 😄 |
I am not going to prioritize it because I doubt it affects a lot of people.
|
Small typo Thanks the the build works now |
P.S: We may need to point redis from |
I think this issue is not complete, the image is still the alpine one and according to the original question, the alpine image is not working, hence it still needs to be fixed. |
Yes. I changed it to debian and it was working. Didnt make any changes to the alpine version. |
I enabled the alpine community repo in the docker file which fixed the build issue. The build is working fine. Let me know if this is an acceptable fix.
There are some other errors which are more to do with versions which i will paste later. |
I think it's better for us to move to Debian instead because alpine has been a maintenance hungry image, it keeps breaking! |
Looks like the Dockerfile was already changed to Debian in 99b5366. I think this can be closed. |
Thanks everyone. |
With docker, the application only connects to redis if the hostname is set to redis. Localhost does not work because of dockers networking. Fixes openwisp#164
Tried this on a fresh install of docker. After i run
docker-compose build
I get the following error --
ERROR: unsatisfiable constraints: so:libproj.so.19 (missing): required by: libspatialite-4.3.0a-r8[so:libproj.so.19] ERROR: Service 'controller' failed to build: The command '/bin/sh -c apk add --no-cache --update zlib-dev jpeg-dev libffi-dev gettext gcc openssl tzdata && apk add --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/testing --update geos-dev gdal-dev libspatialite && apk add --no-cache --update --virtual .build-deps postgresql-dev git build-base linux-headers openssl-dev' returned a non-zero code: 2
The text was updated successfully, but these errors were encountered: