Add docker base image metadata

Currently we don't produce a docker base image that can be used with
OSBS or via the 'atomic run' command without modification. This
fixes that and will allow for an automated import of the base images
into the Fedora Container Registry

Switch from docker to container namespace

Fedora Atomic WG has decided to move from the "docker" namespace to
the "container" namespace for the sake of making it more generic in
order to target all OCI Compliant container runtimes instead of
a specific implementation. This update changes what is necessary for
to the base image metadata.

Signed-off-by: Adam Miller <maxamillion@fedoraproject.org>
This commit is contained in:
Adam Miller 2017-03-28 15:19:44 -05:00
parent 1f7752e499
commit d0944447a5

View File

@ -291,7 +291,18 @@ image_build = {
'repo_from': 'Cloud',
'install_tree_from': 'Cloud',
'subvariant': 'Docker_Base'
}
},
'factory-parameters': {
'docker_cmd': "[ '/bin/bash' ]",
'docker_env': "[ 'DISTTAG=f24container', 'FGC=f24' ]",
'docker_labels': {
'Name': 'fedora',
'License': u'GPLv2',
'RUN': 'docker run -it --rm ${OPT1} --privileged -v \`pwd\`:/atomicapp -v /run:/run -v /:/host --net=host --name ${NAME} -e NAME=${NAME} -e IMAGE=${IMAGE} ${IMAGE} -v ${OPT2} run ${OPT3} /atomicapp',
'Vendor': 'Fedora Project',
'Version': '24',
},
}
}
],
'^CloudImages$': [