From a6e89829d78386abd03ca260d9435c81c1d86ad2 Mon Sep 17 00:00:00 2001
From: mancini <mancini@astron.nl>
Date: Mon, 27 Jan 2020 13:54:00 +0100
Subject: [PATCH] Fix test

Former-commit-id: dbb8c1497360bef9536a380a5ba00f96651393a9
---
 .gitignore        | 1 +
 .gitlab-ci.yml    | 2 +-
 Docker/Dockerfile | 4 ++--
 3 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/.gitignore b/.gitignore
index 6ada2877..b0502826 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,6 @@
 test_data/*.MS
 Docker/scripts
+Docker/prefactor
 *.sif
 # Byte-compiled / optimized / DLL files
 __pycache__/
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 40f52ecb..0efe8139 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -59,7 +59,7 @@ blsmooth:
 pol_align:
   stage: integration_test
   script:
-    - cwltool --no-container subworkflows/pol_align.cwl test_jobs/pol_align.json
+    - cwltool --no-container subworkflow/pol_align.cwl test_jobs/pol_align.json
 
 prefactor_calibrator:
   stage: integration_test
diff --git a/Docker/Dockerfile b/Docker/Dockerfile
index 7b8b78a8..b2d0d68f 100644
--- a/Docker/Dockerfile
+++ b/Docker/Dockerfile
@@ -1,10 +1,10 @@
 FROM lofareosc/lofar-pipeline:latest
-
+USER root
 COPY prefactor/scripts/* /opt/lofar/scripts/
 COPY prefactor/skymodels/* /data/skymodels/
 COPY prefactor/rfistrategies/* /data/rfistrategies/
 COPY prefactor/solutions/ /data/solutions/*
-
+RUN apt update && apt install vim
 RUN ln -sf /opt/lofar/scripts/* /usr/local/bin/
 
 RUN chmod +rx /usr/local/bin/*
-- 
GitLab