Skip to content

Commit

Permalink
INFRA-541 Simplified Cuppa Dockerfile
Browse files Browse the repository at this point in the history
Had tried to get this working more like we do with Pipeline5's imager
scripts but this approach is much cleaner, it does appear to work but
want to try it on production data on the data-vm-prod-2 instance.
  • Loading branch information
Ned Leitch committed Sep 6, 2024
1 parent 402c606 commit b7db00a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cuppa/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@ FROM openjdk:17-slim

ARG VERSION
RUN mkdir -p /usr/share/hartwig /opt/tools
RUN apt update && apt install -y python3 python3-pip

ADD target/cuppa-$VERSION-jar-with-dependencies.jar /usr/share/hartwig/cuppa.jar
RUN cd /opt/tools && jar xvf /usr/share/hartwig/cuppa.jar pycuppa
RUN pip3 install --upgrade pip && pip3 install /opt/tools/pycuppa

ENTRYPOINT ["java", "-cp", "/usr/share/hartwig/cuppa.jar", "com.hartwig.hmftools.cup.prep.CuppaDataPrep"]

0 comments on commit b7db00a

Please sign in to comment.