That image is really old based on a really old alpine (v3.4) and the repository domain changed since then. I wouldnāt use such an old image. The latest is 1.15.0, but if you still want to use it for legacy applications, you need to change /etc/apk/repositories
sed -i 's/alpine\.gliderlabs\.com/dl-cdn.alpinelinux.org/g' /etc/apk/repositories
sed -i '/^@edge/d' /etc/apk/repositories
then donāt forget to update the cache
apk update
After that, you should be able to install the packageā¦
To make it persistent, you can add these commands to a Dockerfile and create your own image with bitwalker/alpine-elixir:1.3.4 as base image, or just simply mount this file:
Thanks for your help! I thought it could have something to do with the dns servers but It was because I was using an outdated repository. Was resolved by: