Skip to content

Commit 0ebb3b3

Browse files
Update Dockerfile & cromwell.conf
1 parent feadb15 commit 0ebb3b3

2 files changed

Lines changed: 16 additions & 4 deletions

File tree

Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
1414
zlib1g-dev \
1515
wget \
1616
ca-certificates \
17-
bedtools \
17+
bedtools \
1818
bcftools \
19-
openjdk-17-jre-headless&& \
19+
openjdk-17-jre-headless && \
2020
rm -rf /var/lib/apt/lists/*
2121

2222
# uv
@@ -33,8 +33,8 @@ WORKDIR $APP_HOME
3333
# cromwell
3434
ARG CROMWELL_VERSION=92
3535
ARG CROMWELL_SHA256=e0e3a050d4124e81369a79059e5774142b2f06bd89df4a0b035f559db85cedf5
36-
RUN wget -q -O $APP_HOME/cromwell.jar https://github.com/broadinstitute/cromwell/releases/download/${CROMWELL_VERSION}/cromwell-${CROMWELL_VERSION}.jar && \
37-
echo "${CROMWELL_SHA256} $APP_HOME/cromwell.jar" | sha256sum -c -
36+
RUN wget -q -O $APP_HOME/cromwell-${CROMWELL_VERSION}.jar https://github.com/broadinstitute/cromwell/releases/download/${CROMWELL_VERSION}/cromwell-${CROMWELL_VERSION}.jar && \
37+
echo "${CROMWELL_SHA256} $APP_HOME/cromwell-${CROMWELL_VERSION}.jar" | sha256sum -c -
3838

3939
# Run as non-root - movana
4040
RUN useradd --create-home --shell /bin/bash movana && \

cromwell.conf

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -631,6 +631,18 @@ services {
631631
}
632632

633633
database {
634+
# File-backed HSQLDB so the call cache persists across runs (the default
635+
# in-memory database is discarded on JVM exit, which would make
636+
# call-caching = true above have no effect). The relative path is created in
637+
# the working directory cromwell is launched from.
638+
profile = "slick.jdbc.HsqldbProfile$"
639+
db {
640+
driver = "org.hsqldb.jdbcDriver"
641+
url = "jdbc:hsqldb:file:cromwell-db/cromwell-db;shutdown=false;hsqldb.tx=mvcc;hsqldb.default_table_type=cached;hsqldb.result_max_memory_rows=10000"
642+
connectionTimeout = 120000
643+
numThreads = 1
644+
}
645+
634646
# mysql example
635647
#driver = "slick.driver.MySQLDriver$"
636648

0 commit comments

Comments
 (0)