File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ def _image_exists(self, image):
138138 def _run_container_build_command (self , image , cache ):
139139 log .info (f"Building singularity image { image } ." )
140140 run_cmd (
141- "sudo singularity build {options} {container} {script}" .format (
141+ "singularity build {options} {container} {script}" .format (
142142 options = "" if cache else "--disable-cache" ,
143143 container = image ,
144144 script = self ._script ,
@@ -163,7 +163,7 @@ def _generate_script(self, custom_commands):
163163. /bench/
164164%post
165165
166- DEBIAN_FRONTEND=noninteractive
166+ export DEBIAN_FRONTEND=noninteractive
167167apt-get update
168168apt-get -y install apt-utils dialog locales
169169apt-get -y install curl wget unzip git
@@ -206,7 +206,6 @@ def _generate_script(self, custom_commands):
206206{custom_commands}
207207
208208%environment
209- export DEBIAN_FRONTEND=noninteractive
210209export SPIP=python{pyv} -m pip
211210export SPY=python{pyv}
212211export PYTHONUTF8=1
You can’t perform that action at this time.
0 commit comments