https://prefect.io logo
#prefect-community
Title
# prefect-community
d

Danilo Drobac

01/10/2023, 11:23 AM
Strange issue while building a Dockerfile...
Copy code
FROM prefecthq/prefect:2.7.7-python3.8
RUN ["pip", "install", "gcsfs"]
Returns the error:
Copy code
/bin/sh: 1: ["pip",: not found
Has anybody else had this error/know what the fix it? I'm assuming its not an issue with the base image?
1
m

Miguel Moncada

01/10/2023, 11:36 AM
It seems to work fine on my side, which Docker version are you using? Have you tried the following syntax instead in your
Dockerfile
?
Copy code
RUN pip install -U gcsfs
1
🙌 1
d

Danilo Drobac

01/10/2023, 11:45 AM
Hero. That solved it 🙂 Obviously using old syntax...
blob attention gif 2
3 Views