When using 'make USE_PROXY=true', the 'docker build' is executed with
the correct proxy-related build-args, but the Dockerfile does not
actually consume them.
This change updates the Dockerfiles to accept the following ARGs:
HTTP_PROXY, HTTPS_PROXY, NO_PROXY (upper or lowercase)
Change-Id: I6888d1f15f430e73338c269784ded9a0dea6c9ce
- Allow the image build to support any Ubuntu release, default
to Xenial to maintain default behavior
Change-Id: Iabb54f7bdc2f6436cc8964ae9a9e971e2ce20501
1) Use OCI Image Specs for labels instead of custom 'commit-id=xxxxx'
or legacy "Label Schema"
2) Fix missing git commit id labels on images (.revision)
3) Add human-readable title (.title) of the image, URL (.url), and
a few other properties (annotations) according to the latest Specs
Change-Id: I8ee3aef8d64efe6237f630caab3683f7137d4e68
Deploying Genesis kernel with a matching kernel to what MaaS provisions
to other nodes requires starting the container on Genesis and running
the `file` command on the boot-kernel in order to determine the kernel
version. This PS adds the `file` binary to the image.
Change-Id: Idddcc25916ba5b8b015cdde9bfe773443f158273
l is to let user customize the base image of the component
by passing FROM=myimage during the build process. This would let any
project leveraging Airship ensure that the base image is matching the
security requirements for that project and still use the same Dockerfile.
This will also ease the control of the /etc/apt/source.list
and thereby the result of apt-get update/upgrade procedure.
2. The above goal is achievable by using docker-ce feature such as:
ARG FROM="defaultbaseimage:xx"
FROM ${FROM}
For this reason, the installation of docker.io in the Zuul gating is beeing
replaced by docker-ce.
3. Third Goal is to bring consistency with the other compoenents leveraging
Helm such as the openstack-helm and potentially use bindep the same way
the LOCI images are to ensure
4. The new syntax in the Dockerfile is still commented out until the associated
image builder have been updated to use docker-ce as they have been for the LOCI
images.
Change-Id: I9a9d63329bea2b562f297705dc51661896a592f2
- Create image with simplestreams package
- Mirror current upstream maas.io xenial images
- Run apache on port 8888 to serve the simplestreams repo
Change-Id: I121d62894464ae62a2a59bd62a2448835a1f67af