apk source for an air-gapped network?

2 posts / 0 new
Last post
#1 Wed, 2015-09-30 17:00
clemenko
  • clemenko's picture
  • Offline
  • Last seen: 2 years 6 months ago
  • Joined: 2015-09-30

TL;DR.. I have an air-gapped network where users want to use Alpine to build tiny Docker images. I need to provide a base image that points to a local apk server? Is this possible? How do I host the apk repo?

Sun, 2015-10-18 00:20
ghostbar
  • ghostbar's picture
  • Offline
  • Last seen: 2 years 5 months ago
  • Joined: 2015-10-18

You can use rsync to copy a repo; then you point to them in your /etc/apk/repositories; for example, do an rsync against http://nl.alpinelinux.org/alpine/v3.2/main and save it on /opt/repo/main; then make it available via nginx or somthing to http://mynetwork/ and put http://mynetwork/ on /etc/apk/repositories.

Log in or register to post comments