Open muenchhausen opened 5 years ago
I have had the same problem.
The compiler suggests to pass compiler flags ("note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code").
Doing so worked for me.
Change the following line
RUN python3 -m ensurepip --upgrade && pip3 install --upgrade picamera[array] dlib
in Dockerfile to
RUN python3 -m ensurepip --upgrade && CFLAGS=-std=c99 pip3 install --upgrade picamera[array] dlib
During the build running
docker build -t facerec:latest .
I get the following compile error: