From f1217e9ae9e11c491733bfcbc81506caa76cddd1 Mon Sep 17 00:00:00 2001 From: Roi Glinik Date: Wed, 19 Oct 2022 14:00:16 +0300 Subject: [PATCH] return the logic, seems to break again (#578) --- Dockerfile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Dockerfile b/Dockerfile index ccff9be77..d63ce6d8d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,6 +13,13 @@ RUN curl -sSL https://install.python-poetry.org | python3 - RUN /root/.local/bin/poetry config virtualenvs.create false WORKDIR /app +# Install gcc to compile rumal.yaml.clib, wheel is missing. +RUN apt-get update \ + && apt-get install -y --no-install-recommends gcc \ + && pip3 install --no-cache-dir ruamel.yaml.clib \ + && apt-get purge -y --auto-remove gcc \ + && rm -rf /var/lib/apt/lists/* + # we install the project requirements and install the app in separate stages to optimize docker layer caching COPY pyproject.toml poetry.lock /app/ RUN /root/.local/bin/poetry install --no-root --no-dev --extras "all"