Closed theobouwman closed 10 months ago
According to instructions in README, it is required to install build-base
package as part of Alpine image in order to be able to build cloud-profiler-python
properly.
Since you're using python3.11-slim
as a base image, you should install equivalent package to build-base
, which is in your case build-essential
.
You can install required package as follows:
RUN apt-get update && apt-get install -y --no-install-recommends build-essential
@krstef's answer is correct. Please re-open if that doesn't solve the issue for you
I am running on FastAPI but get a build error on Cloud Run:
Base Dockerfile: