Mercurial > repos > jpayne > seqsero2s
annotate Dockerfile @ 17:b1f0f52a0663 draft default tip
planemo upload commit d59c5a830a41e5400b502507b8cddff67603dbeb
| author | galaxytrakr |
|---|---|
| date | Fri, 15 May 2026 17:02:45 +0000 |
| parents | 790b6c0e71fb |
| children |
| rev | line source |
|---|---|
|
9
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
1 # Multi-stage Dockerfile for SeqSero2S |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
2 # Default build: docker build -t seqsero2s:latest . |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
3 # Test build: docker build --target test -t seqsero2s:test . |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
4 |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
5 # ============================================================================ |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
6 # Stage 1: Base image with mambaforge for faster dependency resolution |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
7 # ============================================================================ |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
8 FROM condaforge/mambaforge:latest AS base |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
9 |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
10 LABEL maintainer="SeqSero2S Maintainers" |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
11 LABEL description="Simplified Salmonella serotype prediction from genome sequencing data" |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
12 |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
13 # Set environment variables to reduce conda output and ensure non-interactive |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
14 # Disable SSL verification for VPN environments |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
15 ENV CONDA_ALWAYS_YES=true \ |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
16 CONDA_AUTO_UPDATE_CONDA=false \ |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
17 DEBIAN_FRONTEND=noninteractive |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
18 |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
19 # Configure conda to skip SSL verification |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
20 RUN conda config --set ssl_verify false |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
21 |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
22 # ============================================================================ |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
23 # Stage 2: Builder - Install all dependencies and SeqSero2S |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
24 # ============================================================================ |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
25 FROM base AS builder |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
26 |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
27 # Update base packages and install build essentials |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
28 RUN apt-get update && \ |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
29 apt-get install -y --no-install-recommends \ |
|
16
790b6c0e71fb
planemo upload commit 34fc6bf8421ce1ff1f9dc7cfbb2317430569acdc
galaxytrakr
parents:
15
diff
changeset
|
30 wget \ |
|
790b6c0e71fb
planemo upload commit 34fc6bf8421ce1ff1f9dc7cfbb2317430569acdc
galaxytrakr
parents:
15
diff
changeset
|
31 ca-certificates \ |
|
790b6c0e71fb
planemo upload commit 34fc6bf8421ce1ff1f9dc7cfbb2317430569acdc
galaxytrakr
parents:
15
diff
changeset
|
32 bash \ |
|
9
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
33 && apt-get clean && \ |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
34 rm -rf /var/lib/apt/lists/* |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
35 |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
36 # Create conda environment with all dependencies |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
37 # Using mamba for faster dependency resolution |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
38 RUN mamba create -n seqsero2s -c conda-forge -c bioconda \ |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
39 python>=3 \ |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
40 pip \ |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
41 setuptools \ |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
42 blast>=2.2 \ |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
43 zstd \ |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
44 samtools \ |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
45 bedtools>=2.17 \ |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
46 sra-tools>=2.8 \ |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
47 spades>=3.9 \ |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
48 salmid \ |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
49 bwa>=0.7 \ |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
50 seqtk>=1.3 \ |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
51 stringmlst>=0.6 \ |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
52 mlst>=2.32.2 \ |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
53 perl-list-moreutils \ |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
54 && mamba clean -afy |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
55 |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
56 # Install SeqSero2S from local fork |
|
16
790b6c0e71fb
planemo upload commit 34fc6bf8421ce1ff1f9dc7cfbb2317430569acdc
galaxytrakr
parents:
15
diff
changeset
|
57 WORKDIR /tmp/build/SeqSero2S |
|
9
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
58 |
|
16
790b6c0e71fb
planemo upload commit 34fc6bf8421ce1ff1f9dc7cfbb2317430569acdc
galaxytrakr
parents:
15
diff
changeset
|
59 # Copy the current build context (the cloned source code) into the container. |
|
790b6c0e71fb
planemo upload commit 34fc6bf8421ce1ff1f9dc7cfbb2317430569acdc
galaxytrakr
parents:
15
diff
changeset
|
60 COPY . . |
|
9
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
61 |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
62 # Install SeqSero2S |
|
16
790b6c0e71fb
planemo upload commit 34fc6bf8421ce1ff1f9dc7cfbb2317430569acdc
galaxytrakr
parents:
15
diff
changeset
|
63 RUN /opt/conda/envs/seqsero2s/bin/python -m pip install . -vv --no-deps --no-build-isolation --no-cache-dir |
|
9
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
64 |
|
16
790b6c0e71fb
planemo upload commit 34fc6bf8421ce1ff1f9dc7cfbb2317430569acdc
galaxytrakr
parents:
15
diff
changeset
|
65 # Apply the stringMLST.py patch inline using 'sed'. |
|
790b6c0e71fb
planemo upload commit 34fc6bf8421ce1ff1f9dc7cfbb2317430569acdc
galaxytrakr
parents:
15
diff
changeset
|
66 # This exactly replicates the original python patch script by commenting out the old line and adding the new one. |
|
790b6c0e71fb
planemo upload commit 34fc6bf8421ce1ff1f9dc7cfbb2317430569acdc
galaxytrakr
parents:
15
diff
changeset
|
67 RUN if [ -f "/opt/conda/envs/seqsero2s/bin/stringMLST.py" ]; then \ |
|
790b6c0e71fb
planemo upload commit 34fc6bf8421ce1ff1f9dc7cfbb2317430569acdc
galaxytrakr
parents:
15
diff
changeset
|
68 sed -i 's| log = dbPrefix+'\''.log'\''| # log = dbPrefix+'\''.log'\''\n log = os.path.join(os.getcwd(), "kmer.log")|g' /opt/conda/envs/seqsero2s/bin/stringMLST.py && \ |
|
790b6c0e71fb
planemo upload commit 34fc6bf8421ce1ff1f9dc7cfbb2317430569acdc
galaxytrakr
parents:
15
diff
changeset
|
69 echo "PATCHED: stringMLST.py log path fixed"; \ |
|
790b6c0e71fb
planemo upload commit 34fc6bf8421ce1ff1f9dc7cfbb2317430569acdc
galaxytrakr
parents:
15
diff
changeset
|
70 else \ |
|
790b6c0e71fb
planemo upload commit 34fc6bf8421ce1ff1f9dc7cfbb2317430569acdc
galaxytrakr
parents:
15
diff
changeset
|
71 echo "SKIP: stringMLST.py not found"; \ |
|
790b6c0e71fb
planemo upload commit 34fc6bf8421ce1ff1f9dc7cfbb2317430569acdc
galaxytrakr
parents:
15
diff
changeset
|
72 fi |
|
9
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
73 |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
74 # ============================================================================ |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
75 # Stage 3: Test image - runs validation tests |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
76 # ============================================================================ |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
77 FROM builder AS test |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
78 |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
79 # Create test directory |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
80 WORKDIR /test |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
81 |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
82 # Run test commands from the conda recipe |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
83 RUN echo "Running SeqSero2S tests..." && \ |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
84 /opt/conda/envs/seqsero2s/bin/SeqSero2S.py -h && \ |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
85 echo "SeqSero2S.py -h: PASSED" && \ |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
86 /opt/conda/envs/seqsero2s/bin/blastn -help && \ |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
87 echo "blastn -help: PASSED" && \ |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
88 /opt/conda/envs/seqsero2s/bin/SalmID.py -h && \ |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
89 echo "SalmID.py -h: PASSED" && \ |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
90 /opt/conda/envs/seqsero2s/bin/mlst -h && \ |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
91 echo "mlst -h: PASSED" && \ |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
92 echo "All tests completed successfully!" |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
93 |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
94 # Default command shows test results |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
95 CMD ["echo", "All SeqSero2S tests passed successfully!"] |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
96 |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
97 # ============================================================================ |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
98 # Stage 4: Production/Distribution image - minimal runtime (DEFAULT) |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
99 # ============================================================================ |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
100 FROM condaforge/mambaforge:latest AS dist |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
101 |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
102 # Copy conda environment from builder |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
103 COPY --from=builder /opt/conda/envs/seqsero2s /opt/conda/envs/seqsero2s |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
104 |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
105 # Update PATH to use the conda environment |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
106 ENV PATH=/opt/conda/envs/seqsero2s/bin:$PATH \ |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
107 CONDA_DEFAULT_ENV=seqsero2s \ |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
108 CONDA_PREFIX=/opt/conda/envs/seqsero2s |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
109 |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
110 # Install minimal runtime dependencies |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
111 RUN apt-get update && \ |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
112 apt-get install -y --no-install-recommends \ |
|
16
790b6c0e71fb
planemo upload commit 34fc6bf8421ce1ff1f9dc7cfbb2317430569acdc
galaxytrakr
parents:
15
diff
changeset
|
113 ca-certificates \ |
|
790b6c0e71fb
planemo upload commit 34fc6bf8421ce1ff1f9dc7cfbb2317430569acdc
galaxytrakr
parents:
15
diff
changeset
|
114 procps \ |
|
9
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
115 && apt-get clean && \ |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
116 rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
117 |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
118 # Create working directory |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
119 WORKDIR /data |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
120 |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
121 # Create non-root user for running the application |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
122 RUN useradd -m -u 1000 -s /bin/bash seqsero2s && \ |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
123 chown -R seqsero2s:seqsero2s /data |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
124 USER seqsero2s |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
125 |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
126 # Add metadata labels |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
127 LABEL org.opencontainers.image.version="1.1.4" \ |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
128 org.opencontainers.image.authors="LSTUGA" \ |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
129 org.opencontainers.image.url="https://github.com/LSTUGA/SeqSero2S" \ |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
130 org.opencontainers.image.documentation="https://github.com/LSTUGA/SeqSero2S" \ |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
131 org.opencontainers.image.source="https://github.com/LSTUGA/SeqSero2S" \ |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
132 org.opencontainers.image.licenses="GPL-2.0-or-later" \ |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
133 org.opencontainers.image.title="SeqSero2S" \ |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
134 org.opencontainers.image.description="Simplified Salmonella serotype prediction from genome sequencing data" |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
135 |
|
4c4899031795
planemo upload commit fcafae43456eb929e62b5c879ac954f75745bbf8
galaxytrakr
parents:
diff
changeset
|
136 # No entrypoint or command for dist target |
|
16
790b6c0e71fb
planemo upload commit 34fc6bf8421ce1ff1f9dc7cfbb2317430569acdc
galaxytrakr
parents:
15
diff
changeset
|
137 |
|
790b6c0e71fb
planemo upload commit 34fc6bf8421ce1ff1f9dc7cfbb2317430569acdc
galaxytrakr
parents:
15
diff
changeset
|
138 |
