Skip to content

Commit 7cc7cd1

Browse files
committed
built local dorado container
1 parent 8a139f9 commit 7cc7cd1

File tree

2 files changed

+24
-2
lines changed

2 files changed

+24
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# tool-docker-cwl
22

3-
This repository provides a [Common Workflow Language (CWL)](https://www.commonwl.org/) tool for running the <tool link> program. The tool is packaged in a Docker container, allowing it to run on any system with Docker or Singularity installed.
3+
This repository provides a [Common Workflow Language (CWL)](https://www.commonwl.org/) tool for running the [dorado]() program. `dorado` is packaged in a Docker container, allowing it to run on any system with Docker or Singularity installed.
44

55
## Prerequisites
66

@@ -18,7 +18,7 @@ To install and run the tool, follow these steps:
1818
3. (optional) Build the Docker image by running the following command from the root of the repository:
1919

2020
```
21-
docker build -t <tool-docker-cwl> .
21+
docker build -f docker/Dockerfile -t dorado-docker-cwl .
2222
```
2323
OR pull from the built container.
2424
```

docker/Dockerfile

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
FROM rockylinux/rockylinux:9
2+
3+
RUN dnf install -y \
4+
python3 \
5+
python3-pip \
6+
python3-devel \
7+
gcc \
8+
wget \
9+
&& dnf clean all
10+
11+
RUN pip3 install --upgrade pip
12+
13+
WORKDIR /opt
14+
15+
RUN wget https://cdn.oxfordnanoportal.com/software/analysis/dorado-0.4.3-linux-x64.tar.gz \
16+
&& tar -xzf dorado-0.4.3-linux-x64.tar.gz \
17+
&& rm dorado-0.4.3-linux-x64.tar.gz \
18+
&& mv dorado-0.4.3-linux-x64 dorado
19+
20+
ENV PATH="/opt/dorado/bin:${PATH}"
21+
22+
CMD ["dorado"]

0 commit comments

Comments
 (0)