https://prefect.io logo
Title
d

Danilo Drobac

01/10/2023, 11:23 AM
Strange issue while building a Dockerfile...
FROM prefecthq/prefect:2.7.7-python3.8
RUN ["pip", "install", "gcsfs"]
Returns the error:
/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
?
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