Fix docker metadata formatting and license

The previous formatting for docker image metadata was getting
escaped incorrectly when passed to imagefactory. This resolves that.

Fix the license label to be MIT instead of GPLv2.

Fix the bash path

Remove atomic RUN command, it causes build failures and isn't
necessary in the base image.

Signed-off-by: Adam Miller <maxamillion@fedoraproject.org>
This commit is contained in:
Adam Miller 2017-03-31 13:44:09 -05:00
parent 4172585460
commit b79963bcd4
2 changed files with 6 additions and 8 deletions

View File

@ -224,12 +224,11 @@ image_build = {
},
'factory-parameters': {
'dockerversion': "1.10.1",
'docker_cmd': "[ '/bin/bash' ]",
'docker_env': "[ 'DISTTAG=f25docker', 'FGC=f25' ]",
'docker_cmd': '[ "/usr/bin/bash" ]',
'docker_env': '[ "DISTTAG=f25docker", "FGC=f25" ]',
'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',
'License': u'MIT',
'Vendor': 'Fedora Project',
'Version': '25',
},

View File

@ -291,12 +291,11 @@ image_build = {
},
'factory-parameters': {
'dockerversion': "1.10.1",
'docker_cmd': "[ '/bin/bash' ]",
'docker_env': "[ 'DISTTAG=f25docker', 'FGC=f25' ]",
'docker_cmd': '[ "/usr//bin/bash" ]',
'docker_env': '[ "DISTTAG=f25docker", "FGC=f25" ]',
'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',
'License': u'MIT',
'Vendor': 'Fedora Project',
'Version': '25',
},