Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vektorcloud/apk-cache
Simple apk package cache for Alpine Linux
https://github.com/vektorcloud/apk-cache
Last synced: about 1 month ago
JSON representation
Simple apk package cache for Alpine Linux
- Host: GitHub
- URL: https://github.com/vektorcloud/apk-cache
- Owner: vektorcloud
- License: mit
- Created: 2015-11-18T19:49:17.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2019-10-19T16:42:44.000Z (about 5 years ago)
- Last Synced: 2024-08-01T12:21:46.554Z (4 months ago)
- Language: Dockerfile
- Homepage:
- Size: 9.77 KB
- Stars: 18
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-starred - vektorcloud/apk-cache - Simple apk package cache for Alpine Linux (others)
README
# apk-cache
[![circleci][circleci]](https://circleci.com/gh/vektorcloud/apk-cache)
Simple apk package cache for Alpine Linux
# Quickstart
Start apk-cache container:
```bash
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:
```bash
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:
```bash
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:`
[circleci]: https://img.shields.io/circleci/build/gh/vektorcloud/apk-cache?color=1dd6c9&logo=CircleCI&logoColor=1dd6c9&style=for-the-badge "apk-cache"