Commit 4f26b709 authored by Raphael Defosseux's avatar Raphael Defosseux

fix(ci): Bizarro syntax issue with podman and env during import

Signed-off-by: default avatarRaphael Defosseux <raphael.defosseux@openairinterface.org>
parent 6009b643
......@@ -66,7 +66,11 @@ def perform_flattening(tag):
# Export / Import trick
cmd = cli + ' export test-flatten | ' + cli + ' import '
cmd += ' --change "ENV PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" '
# Bizarro syntax issue with podman
if cli == 'docker':
cmd += ' --change "ENV PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" '
else:
cmd += ' --change "ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" '
cmd += ' --change "WORKDIR /openair-nrf" '
cmd += ' --change "EXPOSE 80/tcp" '
cmd += ' --change "EXPOSE 9090/tcp" '
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment