Skip to content
Snippets Groups Projects

Add initial cwl workflow and cwl tool description

Merged Vlad Kondratiev requested to merge add-initial-cwl-workflow-and-cwl-tool-description into main
Files
5
+ 28
0
FROM ubuntu:24.04
#
# Lightweight container with minimum to run digitize3.py
#
ENV INSTALL_DIR=/usr/local
RUN export DEBIAN_FRONTEND=noninteractive && \
apt-get -y update && apt-get -y upgrade && \
apt-get install -y python-is-python3 && \
apt-get autoremove --purge && \
# apt-get install -y wget python3 python3-pip python3-numpy git vim \
# python3-pkgconfig libhdf5-dev hdf5-tools python3-setuptools cython3 && \
apt-get install -y wget python3 python3-numpy git vim \
libhdf5-dev hdf5-tools python3-h5py cwltool && \
rm -rf /var/lib/apt/lists/*
# Install cwltool and toil
#RUN python3 -m pip install cwltool toil[cwl]
#RUN cd ${INSTALL_DIR} && wget https://files.pythonhosted.org/packages/cc/0c/5c2b0a88158682aeafb10c1c2b735df5bc31f165bfe192f2ee9f2a23b5f1/h5py-3.12.1.tar.gz && \
# tar xvfz h5py-3.12.1.tar.gz && cd h5py-3.12.1 && python setup.py install --prefix=${INSTALL_DIR}
#RUN cd ${INSTALL_DIR} && mkdir -p src && cd src/ && git clone https://git.astron.nl/RD/pulp2-cwl && \
# cd pulp2-cwl/scripts && cp digitize3.py ${INSTALL_DIR}/bin
COPY ./scripts/digitize3.py ${INSTALL_DIR}/bin
RUN digitize3.py -h
Loading