I want to install gRPC cpp library inside alpine docker container. This is where I find the gRPC package available inside alpine:edge. However when I tried to do
apk update && apk add --no-cache grpc
from alpine:edge
, but it gives me:
ERROR: unsatisfiable constraints:
grpc (missing):
required by: world[grpc]
Am I missing any step?
The grpc
package resides in the testing
repository of the edge
branch.
Use apk's --repository
option for specifying the repository to pull from:
apk update && apk add --no-cache --repository=http://dl-cdn.alpinelinux.org/
alpine/edge/testing
Note, the edge
branch, and more so testing
repositories, are considered experimental, so use them with care.