Skip to content

Instantly share code, notes, and snippets.

@lucidfrontier45
Last active March 16, 2016 15:31
Show Gist options
  • Select an option

  • Save lucidfrontier45/45a893e8786cdbf200c7 to your computer and use it in GitHub Desktop.

Select an option

Save lucidfrontier45/45a893e8786cdbf200c7 to your computer and use it in GitHub Desktop.
python-uwsgi:3.5-slim
FROM python:3.5-slim
MAINTAINER Shiqiao DU <lucidfrontier.45@gmail.com>
RUN pip install -U pip setuptools wheel && rm -rf /root/.cache
RUN set -ex \
&& buildDeps=' \
gcc \
libbz2-dev \
libc6-dev \
libssl-dev \
make \
zlib1g-dev \
' \
&& apt-get update && apt-get install -y $buildDeps --no-install-recommends && rm -rf /var/lib/apt/lists/* \
&& pip install uwsgi && rm -rf /root/.cache \
&& apt-get purge -y --auto-remove $buildDeps
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment