From ae9cf44ee58b291d2cf685b698dbc8d6a5e0fced Mon Sep 17 00:00:00 2001 From: Reuven Gonzales Date: Fri, 28 Jun 2024 13:19:11 -0700 Subject: [PATCH] Fix dagster docker build (#1725) --- docker/images/dagster-dask/Dockerfile | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/docker/images/dagster-dask/Dockerfile b/docker/images/dagster-dask/Dockerfile index de25c41ec..bd6da0bf0 100644 --- a/docker/images/dagster-dask/Dockerfile +++ b/docker/images/dagster-dask/Dockerfile @@ -10,18 +10,17 @@ RUN apt-get update && \ apt-get install -y software-properties-common && \ add-apt-repository ppa:deadsnakes/ppa && \ apt-get update && \ - apt-get install -y python3.12 -RUN apt-get install -y curl && \ + apt-get install -y python3.12 && \ + apt-get install -y curl git && \ curl -o get-pip.py https://bootstrap.pypa.io/get-pip.py && \ - python3.12 get-pip.py -RUN pip3.12 install poetry -RUN curl -o gcloud.tar.gz https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-cli-${GCLOUD_VERSION}-linux-x86_64.tar.gz && \ + python3.12 get-pip.py && \ + pip3.12 install poetry && \ + curl -o gcloud.tar.gz https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-cli-${GCLOUD_VERSION}-linux-x86_64.tar.gz && \ tar xvf gcloud.tar.gz && \ bash ./google-cloud-sdk/install.sh && \ rm gcloud.tar.gz && true ENV PATH $PATH:/google-cloud-sdk/bin - RUN mkdir -p /usr/src/app && \ bash -c "mkdir -p /usr/src/app/warehouse/{bq2cloudsql,oso_dagster,oso_lets_go,common}" && \ touch /usr/src/app/warehouse/bq2cloudsql/__init__.py && \