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:
parent
4172585460
commit
b79963bcd4
@ -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',
|
||||
},
|
||||
|
@ -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',
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user