ERROR: unsatisfiable constraints using apk in dockerfile

Postgis package is only available in edge alpine repo, not in a stable one. That’s why you are getting “unsatisfiable constraints” error. But anyway you can install postgis from edge repo: # echo “http://dl-cdn.alpinelinux.org/alpine/edge/testing” >> /etc/apk/repositories # apk update fetch http://dl-cdn.alpinelinux.org/alpine/v3.5/main/x86_64/APKINDEX.tar.gz fetch http://dl-cdn.alpinelinux.org/alpine/v3.5/community/x86_64/APKINDEX.tar.gz fetch http://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz WARNING: This apk-tools is OLD! Some packages might not function … Read more

What is .build-deps for apk add –virtual command?

If you see the documentation -t, –virtual NAME Instead of adding all the packages to ‘world’, create a new virtual package with the listed dependencies and add that to ‘world’; the actions of the command are easily reverted by deleting the virtual package What that means is when you install packages, those packages are not … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)