Images for use with OpenStack Helm
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Drew Walters e83bc85d44 mini-mirror: Allow per-source Aptly config files 1 month ago
etc Add mini-mirror image 3 months ago
sources/aptly-example/squeeze mini-mirror: Add support for multi-dist publishing 2 months ago
tools mini-mirror: Allow per-source Aptly config files 1 month ago
Dockerfile.ubuntu_xenial Use infra pipelines and roles 1 month ago
README.rst mini-mirror: Allow per-source Aptly config files 1 month ago Use infra pipelines and roles 1 month ago


Mini-mirror Image Build

Mini-mirror is a service that mirrors existing Debian/Ubuntu repositories and can be used as an APT source for OpenStack-Helm deployments with no internet connectivity.

Build Requirements

Add mirror sources

Mini-mirror requires a directory at build-time that contains the repositories and packages that will be mirrored.

| -- source1-prefix/
     |-- source-name/
         |-- source.txt
         |-- packages.txt
| -- source2-prefix/
     |-- source-name/
         |-- source.txt
         |-- packages.txt

Sources are defined as directories containing the files:

  • source-prefix - a prefix to separate sources that have conflicting distribution names (i.e. the directory a source serves from).
  • source-name - the name of a source; used for record-keeping.
  • source.txt - contains location and metadata information for a source.
  • packages.txt - contains a list of packages, formatted as package queries for a source.

Example source.txt format:

source_url source_key_url dist components

Example packages.txt format:

package3 (>=3.6)

To specify the location of your sources directory, export the following environment variable:

Generate a signing key


The demo image published in the OpenStack-Helm-Addons repository is not signed. It should NOT be used in production and signing should be enabled in the Aptly config file.

Mini-mirror signs the release file during the image build process. Supply a path to a valid GPG key using the RELEASE_SIGN_KEY environment variable.

Additionally, supply your GPG key passphrase with the RELEASE_SIGN_KEY_PASSPHRASE environment variable:

Create an Aptly config file (optional)

Specify the location of your Aptly config file using the APTLY_CONFIG_PATH environment variable:


Mini-mirror can be configured on a per-repo basis by adding an Aptly config file to the root directory of a source. This overrides the Aptly config file taken from APTLY_CONFIG_PATH.


If building the mini-mirror image behind a proxy server, define the standard HTTP_PROXY, HTTPS_PROXY, and NO_PROXY environment variables. They will be passed as build-args.


To build the mini-mirror image, execute the following: