Set the container environment variable to oci.
Certain applications are using the container env variable to know if they are running in a container or not. This is making sure we have this define in the fedora base image.. Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1399507 Signed-off-by: Clement Verna <cverna@tutanota.com>
This commit is contained in:
parent
5353e8715f
commit
7b1aeeab68
|
@ -235,7 +235,7 @@ image_build = {
|
|||
'factory-parameters': {
|
||||
'dockerversion': "1.10.1",
|
||||
'docker_cmd': '[ "/bin/bash" ]',
|
||||
'docker_env': '[ "DISTTAG=f30container", "FGC=f30" ]',
|
||||
'docker_env': '[ "DISTTAG=f30container", "FGC=f30", "container=oci" ]',
|
||||
'docker_label': '{ "name": "fedora", "license": "MIT", "vendor": "Fedora Project", "version": "30"}',
|
||||
},
|
||||
},
|
||||
|
@ -258,7 +258,7 @@ image_build = {
|
|||
'factory-parameters': {
|
||||
'dockerversion': "1.10.1",
|
||||
'docker_cmd': '[ "/bin/bash" ]',
|
||||
'docker_env': '[ "DISTTAG=f30container", "FGC=f30" ]',
|
||||
'docker_env': '[ "DISTTAG=f30container", "FGC=f30", "container=oci" ]',
|
||||
'docker_label': '{ "name": "fedora", "license": "MIT", "vendor": "Fedora Project", "version": "30"}',
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue