diff --git a/Docker/Dockerfile b/Docker/Dockerfile index 4d8719bc0027745d0beba09bf47955c7d719f59c..85d8a5feb7af575419664f081c0cc82c6d3ff2c3 100644 --- a/Docker/Dockerfile +++ b/Docker/Dockerfile @@ -1,4 +1,4 @@ -FROM lofar/lofar-pipeline +FROM lofaruser/imaging-pipeline SHELL ["/bin/bash", "-c"] RUN mkdir /home/lofaruser/ && \ @@ -11,9 +11,13 @@ RUN python3 -m pip install cwltool cwl-runner git+https://github.com/darafferty/ ADD L570745_uv_first10.MS.tar.xz /data ADD skymodels.tar.gz /data/skymodels +ADD .entrypoint /home/lofaruser/.entrypoint +RUN chown lofaruser:lofaruser /home/lofaruser/.entrypoint && \ + chmod +rx /home/lofaruser/.entrypoint +WORKDIR /home/lofaruser COPY scripts/* /usr/local/bin/ RUN chmod +rx /usr/local/bin/* ENV PYTHONPATH="/usr/local/bin:${PYTHONPATH}" -#ENTRYPOINT ["/home/lofaruser/.entrypoint"] +ENTRYPOINT ["/home/lofaruser/.entrypoint"] USER lofaruser