bfa8c97d3a
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
9 lines
314 B
Plaintext
9 lines
314 B
Plaintext
# NOTE(SamYaple): CentOS cannot be build with userns-remap enabled. httpd uses
|
|
# cap_set_file capability and there is no way to pass that in at build as of
|
|
# docker 17.06.
|
|
# TODO(SamYaple): Periodically check to see if this is possible in newer
|
|
# versions of Docker
|
|
[Service]
|
|
ExecStart=
|
|
ExecStart=/usr/bin/dockerd
|