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
efddd81a8f
commit
a522a05f95
@ -224,12 +224,11 @@ image_build = {
|
||||
},
|
||||
'factory-parameters': {
|
||||
'dockerversion': "1.10.1",
|
||||
'docker_cmd': "[ '/bin/bash' ]",
|
||||
'docker_env': "[ 'DISTTAG=f27docker', 'FGC=f27' ]",
|
||||
'docker_cmd': '[ "/bin/bash" ]',
|
||||
'docker_env': '[ "DISTTAG=f27docker", "FGC=f27" ]',
|
||||
'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': '27',
|
||||
},
|
||||
|
14
fedora.conf
14
fedora.conf
@ -287,12 +287,11 @@ image_build = {
|
||||
},
|
||||
'factory-parameters': {
|
||||
'dockerversion': "1.10.1",
|
||||
'docker_cmd': "[ '/bin/bash' ]",
|
||||
'docker_env': "[ 'DISTTAG=f27docker', 'FGC=f27' ]",
|
||||
'docker_cmd': '[ "/bin/bash" ]',
|
||||
'docker_env': '[ "DISTTAG=f27docker", "FGC=f27" ]',
|
||||
'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': '27',
|
||||
},
|
||||
@ -313,12 +312,11 @@ image_build = {
|
||||
},
|
||||
'factory-parameters': {
|
||||
'dockerversion': "1.10.1",
|
||||
'docker_cmd': "[ '/bin/bash' ]",
|
||||
'docker_env': "[ 'DISTTAG=f27docker', 'FGC=f27' ]",
|
||||
'docker_cmd': '[ "/bin/bash" ]',
|
||||
'docker_env': '[ "DISTTAG=f27docker", "FGC=f27" ]',
|
||||
'docker_labels': {
|
||||
'Name': 'fedora-minimal',
|
||||
'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': '27',
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user