Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions driver/Dockerfile.hail
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM australia-southeast1-docker.pkg.dev/analysis-runner/images/driver-base:1.5

ARG HAIL_SHA

ENV HAIL_QUERY_BACKEND service
ENV HAIL_QUERY_BACKEND=service

RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y \
Expand Down Expand Up @@ -40,13 +40,14 @@ RUN apt-get update && \
pip --no-cache-dir install \
analysis-runner \
bokeh \
cloudpathlib[all] \
'cloudpathlib[all]' \
cpg-utils \
cpg-workflows \
gcsfs \
hail \
pyarrow \
sample-metadata \
metamist \
selenium>=3.8.0 \
statsmodels
'selenium>=3.8.0' \
statsmodels && \
rm -rf /root/.cache /tmp/tmp*
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be good to add a comment here describing what these cache files are and why they should be deleted.

2 changes: 1 addition & 1 deletion server/ar.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ def prepare_job_from_config(
job.storage(job_config.storage)
if job_config.memory:
job.memory(job_config.memory)
job._preemptible = job_config.preemptible # noqa: SLF001
job.spot(job_config.preemptible)

if job_config.environment_variables:
add_environment_variables(job, job_config.environment_variables)
Expand Down
Loading