Skip to content

Commit

Permalink
feat: support jobs without rights field
Browse files Browse the repository at this point in the history
* Support jobs without `rights` field.
* Pin Python at 3.12.3.
  • Loading branch information
igboyes authored Jun 12, 2024
1 parent 007b9d8 commit 6946532
Show file tree
Hide file tree
Showing 6 changed files with 524 additions and 668 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ RUN ./configure --prefix /build/samtools
RUN make
RUN make install

FROM python:3.10-bookworm as rbuild
FROM python:3.12.3-bookworm as rbuild
WORKDIR /build
RUN apt-get update && apt-get install -y libdeflate0 r-base r-cran-littler
RUN R -e "install.packages('BiocManager')"
Expand All @@ -36,15 +36,15 @@ RUN R -e "install.packages(c('data.table', 'dplyr', 'mltools', 'randomForest', '
COPY ./iimi ./iimi
RUN R -e "install.packages('iimi', repos = NULL, type = 'source')"

FROM python:3.10-bookworm as base
FROM python:3.12.3-bookworm as base
WORKDIR /app
RUN apt-get update && apt-get install -y libdeflate0 r-base r-cran-littler
COPY --from=prep /build/bowtie2/* /usr/local/bin/
COPY --from=prep /build/pigz-2.8/pigz /usr/local/bin/pigz
COPY --from=prep /build/samtools/bin/samtools /usr/local/bin/samtools
COPY --from=prep /build/skewer /usr/local/bin/
RUN curl -sSL https://install.python-poetry.org | python - --version 1.7.1
ENV PATH="/root/.local/bin:${PATH}"
RUN curl -sSL https://install.python-poetry.org | python3 - --version 1.8.3
ENV PATH="/root/.local/bin:$PATH"
COPY poetry.lock pyproject.toml ./
RUN poetry install --without dev --no-root
COPY --from=rbuild /usr/local/lib/R/site-library /usr/local/lib/R/site-library
Expand Down
Loading

0 comments on commit 6946532

Please # to comment.