1. setup mysql: mysql_config: not found
解决方法:在Dockerfile中添加:
RUN apt-get update
RUN apt-get install -y libmysqlclient-dev
参考:https://stackoverflow.com/questions/25682408/docker-setup-with-a-mysql-container-for-a-python-app
2. configure: error: no acceptable C compiler found in $PATH
解决方法:在Dockerfile中添加:
RUN apt-get install -y build-essential