Simple apk package cache for Alpine Linux
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.circleci
.dockerignore
Dockerfile
LICENSE
README.md
nginx.conf

README.md

apk-cache

circleci

Simple apk package cache for Alpine Linux

Quickstart

Start apk-cache container:

docker run -d --name=apk-cache quay.io/vektorcloud/apk-cache:latest

After apk-cache is up, start any subsquent containers with a link to the cache:

docker run -ti --link apk-cache:dl-cdn.alpinelinux.org alpine:latest /bin/sh

To alternatively avoid having to link every running container, publish port 80 to the host:

docker run -d -p 80:80 --name=apk-cache quay.io/vektorcloud/apk-cache:latest

and override resolution of dl-cdn.alpinelinux.org using the IP of the Docker host via dnsmasq or the docker run option --add-host dl-cdn.alpinelinux.org:<HOST-IP>