解决:
apk add apk add --no-cache tzdata g++ gcc unixodbc-dev freetds-dev
报错:
安装pymssql的时候报错:
#include "sqlfront.h"
^
compilation terminated.
error: command 'gcc' failed with exit status 1
解决办法如下:
apk add freetds-dev
----
EnvironmentError: mysql_config not found
解决方法如下:
RUN apk add --no-cache mariadb-dev build-base
---
安装uwsgi的时候报错:
*** uWSGI compiling server core ***
[gcc] core/utils.o
In file included from core/utils.c:1:0:
./uwsgi.h:238:26: fatal error: linux/limits.h: No such file or directory
#include <linux/limits.h>
^
compilation terminated.
解决办法如下:
apk add linux-headers