Created
September 7, 2017 18:54
-
-
Save rtorresve/047d03aa42c03ac23e8ddcc39886cbd5 to your computer and use it in GitHub Desktop.
python dockerfile with mysql lybraries
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM python:3.6-alpine3.6 | |
MAINTAINER Rafael Torres <[email protected]> | |
RUN apk add --update \ | |
mariadb-client-libs \ | |
mariadb-dev \ | |
gcc \ | |
musl-dev \ | |
bash \ | |
&& pip install --no-cache-dir mysqlclient==1.3.12 \ | |
&& apk del .build-deps \ | |
&& rm /var/cache/apk/* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment