From 4d07285f5fd7287c17aa1bd51173bdee6fb4a7da Mon Sep 17 00:00:00 2001 From: Joris Van den Bossche Date: Mon, 17 Apr 2023 15:07:45 +0200 Subject: [PATCH] update gitpod --- .gitpod.yml | 1 - gitpod/gitpod.Dockerfile | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitpod.yml b/.gitpod.yml index dd58c4df72965..25b0ac103bc34 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -14,7 +14,6 @@ tasks: git pull --unshallow # need to force this else the prebuild fails git fetch --tags python setup.py build_ext -j 4 - python -m pip install -e . --no-build-isolation echo "🛠 Completed rebuilding Pandas!! 🛠 " echo "✨ Pre-build complete! You can close this terminal ✨ " diff --git a/gitpod/gitpod.Dockerfile b/gitpod/gitpod.Dockerfile index 77268577e502b..ab3f25b231e67 100644 --- a/gitpod/gitpod.Dockerfile +++ b/gitpod/gitpod.Dockerfile @@ -34,6 +34,7 @@ WORKDIR ${WORKSPACE} # Build pandas to populate the cache used by ccache RUN git config --global --add safe.directory /workspace/pandas RUN conda activate ${CONDA_ENV} && \ + python -m pip install -e . --no-build-isolation && \ python setup.py build_ext --inplace && \ ccache -s @@ -43,4 +44,5 @@ RUN rm -rf ${WORKSPACE} # ----------------------------------------------------------------------------- # Always return to non privileged user +RUN chown -R gitpod:gitpod /home/gitpod/.cache/ USER gitpod