Skip to content

Commit d443efe

Browse files
committed
Merge branch 'master' of https://github.com/SpheMakh/Stimela
2 parents fd773f0 + e60ede5 commit d443efe

4 files changed

Lines changed: 7 additions & 4 deletions

File tree

stimela/cargo/base/tricolour/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,6 @@ RUN echo -e '#!/bin/bash\npython3' > /usr/bin/python && \
55
RUN alias
66
ENTRYPOINT ["/bin/bash", "-c"]
77

8+
RUN pip3 install pyyaml
9+
10+
ENTRYPOINT []

stimela/cargo/cab/tricolour/parameters.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"tag": "1.1.3",
55
"description": "A variant of the Science Data Processing flagging code, wrapped in dask, operating on Measurement Sets",
66
"prefix": "--",
7-
"binary": "tricolour",
7+
"binary": "/code/dist/tricolourexe/tricolourexe",
88
"msdir": true,
99
"parameters": [
1010
{
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/usr/bin/env bash
2-
python /scratch/code/run.py 2>&1 | tee -a $LOGFILE
2+
/usr/bin/env python3 /scratch/code/run.py 2>&1 | tee -a $LOGFILE
33
(exit ${PIPESTATUS[0]})

stimela/docker.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,13 @@ def build(image, build_path, tag=None, build_args=None, fromline=None, args=[]):
3636
else:
3737
stdw.write(line)
3838
stdw.flush()
39-
utils.xrun("docker build", args+["--force-rm", "-f", stdw.name,
39+
utils.xrun("docker build", args+["--force-rm", "--no-cache", "-f", stdw.name,
4040
"-t", image,
4141
bdir])
4242

4343
stdw.close()
4444
else:
45-
utils.xrun("docker build", args+["--force-rm", "-t", image,
45+
utils.xrun("docker build", args+["--force-rm", "--no-cache", "-t", image,
4646
bdir])
4747

4848
os.system('rm -rf {:s}'.format(bdir))

0 commit comments

Comments
 (0)