From 14452cfb3d87f3f54ced75b9d5dd67b1470f2080 Mon Sep 17 00:00:00 2001 From: Abhishek Arya Date: Fri, 1 Jan 2021 11:50:00 -0800 Subject: [PATCH] Fix workdir for Pillow project. (#4902) Fixes #4853 --- projects/pillow/Dockerfile | 5 ++++- projects/pillow/build.sh | 1 - 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/projects/pillow/Dockerfile b/projects/pillow/Dockerfile index c32a5544e..2c2bafa98 100644 --- a/projects/pillow/Dockerfile +++ b/projects/pillow/Dockerfile @@ -48,6 +48,9 @@ RUN apt-get install -y \ tk8.6-dev \ zlib1g-dev RUN git clone --depth 1 https://github.com/python-pillow/Pillow -WORKDIR $SRC + COPY build.sh $SRC/ COPY fuzz_* $SRC/Pillow + +WORKDIR $SRC/Pillow + diff --git a/projects/pillow/build.sh b/projects/pillow/build.sh index c249de59a..c2c8181e3 100644 --- a/projects/pillow/build.sh +++ b/projects/pillow/build.sh @@ -14,7 +14,6 @@ # limitations under the License. # ################################################################################ -cd Pillow make install-req python3 setup.py develop