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:
Clement Verna 2019-07-07 10:14:32 +02:00
parent 587a7e2a2d
commit 740dae96b0
2 changed files with 4 additions and 4 deletions

View File

@ -234,7 +234,7 @@ image_build = {
'factory-parameters': {
'dockerversion': "1.10.1",
'docker_cmd': '[ "/bin/bash" ]',
'docker_env': '[ "DISTTAG=f29container", "FGC=f29" ]',
'docker_env': '[ "DISTTAG=f29container", "FGC=f29", "container=oci" ]',
'docker_label': '{ "name": "fedora", "license": "MIT", "vendor": "Fedora Project", "version": "29"}',
},
},
@ -256,7 +256,7 @@ image_build = {
'factory-parameters': {
'dockerversion': "1.10.1",
'docker_cmd': '[ "/bin/bash" ]',
'docker_env': '[ "DISTTAG=f29container", "FGC=f29" ]',
'docker_env': '[ "DISTTAG=f29container", "FGC=f29", "container=oci" ]',
'docker_label': '{ "name": "fedora", "license": "MIT", "vendor": "Fedora Project", "version": "29"}',
},
}

View File

@ -329,7 +329,7 @@ image_build = {
'factory-parameters': {
'dockerversion': "1.10.1",
'docker_cmd': '[ "/bin/bash" ]',
'docker_env': '[ "DISTTAG=f31container", "FGC=f31" ]',
'docker_env': '[ "DISTTAG=f31container", "FGC=f31", "container=oci" ]',
'docker_label': '{ "name": "fedora", "license": "MIT", "vendor": "Fedora Project", "version": "31"}',
},
},
@ -349,7 +349,7 @@ image_build = {
'factory-parameters': {
'dockerversion': "1.10.1",
'docker_cmd': '[ "/bin/bash" ]',
'docker_env': '[ "DISTTAG=f31container", "FGC=f31" ]',
'docker_env': '[ "DISTTAG=f31container", "FGC=f31", "container=oci" ]',
'docker_label': '{ "name": "fedora", "license": "MIT", "vendor": "Fedora Project", "version": "31"}',
},
}