Skip to content

Commit

Permalink
Merge pull request #607 from ratt-ru/issue-603
Browse files Browse the repository at this point in the history
Issue 603
  • Loading branch information
SpheMakh authored May 9, 2020
2 parents ae480a5 + d810be1 commit a0af56a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions stimela/cargo/base/casa/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ RUN chmod 755 /etc/init.d/xvfb
RUN chmod 777 /var/run
ENV DISPLAY :99
RUN docker-apt-install xvfb
RUN service dbus start
2 changes: 1 addition & 1 deletion stimela/cargo/cab/ragavi/parameters.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"task": "ragavi",
"base": "stimela/ragavi",
"tag": "1.4.6-2",
"tag": "1.4.6-1",
"description": "Radio Astronomy Gain and Visibility Inspector",
"prefix": "--",
"binary": "ragavi-gains",
Expand Down
2 changes: 1 addition & 1 deletion stimela/cargo/cab/ragavi_vis/parameters.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"scan",
"time",
"uvdist",
"uvwave",
"uvwave"
]
},
{
Expand Down
5 changes: 4 additions & 1 deletion stimela/recipe.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,8 +262,11 @@ def setup_job(self, image, config,
cont.add_environ("LANG", "en_US.UTF-8")
cont.add_environ("LC_ALL", "en_US.UTF-8")
cont.execdir = self.workdir
elif self.jtype == "docker":
cont.add_volume("/etc/passwd", "/etc/passwd", "ro")
cont.add_volume("/etc/group", "/etc/group", "ro")
cont.RUNSCRIPT = f"/{self.jtype}_run"
else:
cont.add_environ("USER", stimela.USER)
cont.RUNSCRIPT = f"/{self.jtype}_run"

runscript = shutil.which("stimela_runscript")
Expand Down

0 comments on commit a0af56a

Please sign in to comment.