Add dependencies required to install psycopg2 from source

We can't install the binaries as they don't support musl
pull/188/head
Mike Lang 4 years ago committed by Mike Lang
parent a89bfcd271
commit b53fcd65a0

@ -1,7 +1,7 @@
FROM alpine:3.7
# dependencies needed for compiling c extensions
# also busybox-extras for telnet for easier use of backdoor
RUN apk --update add py2-pip gcc python-dev musl-dev file make busybox-extras
RUN apk --update add py2-pip gcc python-dev musl-dev postgresql-dev file make busybox-extras
# Install gevent so that we don't need to re-install it when common changes
RUN pip install gevent

@ -1,7 +1,7 @@
FROM alpine:3.7
# dependencies needed for compiling c extensions
# also busybox-extras for telnet for easier use of backdoor
RUN apk --update add py2-pip gcc python-dev musl-dev file make busybox-extras
RUN apk --update add py2-pip gcc python-dev musl-dev postgresql-dev file make busybox-extras
# Install gevent so that we don't need to re-install it when common changes
RUN pip install gevent

@ -1,7 +1,7 @@
FROM alpine:3.7
# dependencies needed for compiling c extensions
# also busybox-extras for telnet for easier use of backdoor
RUN apk --update add py2-pip gcc python-dev musl-dev file make busybox-extras
RUN apk --update add py2-pip gcc python-dev musl-dev postgresql-dev file make busybox-extras
# Install gevent so that we don't need to re-install it when common changes
RUN pip install gevent

@ -1,7 +1,7 @@
FROM alpine:3.7
# dependencies needed for compiling c extensions
# also busybox-extras for telnet for easier use of backdoor
RUN apk --update add py2-pip gcc python-dev musl-dev file make busybox-extras
RUN apk --update add py2-pip gcc python-dev musl-dev postgresql-dev file make busybox-extras
# Install gevent so that we don't need to re-install it when common changes
RUN pip install gevent

@ -1,7 +1,7 @@
FROM alpine:3.7
# dependencies needed for compiling c extensions
# also busybox-extras for telnet for easier use of backdoor
RUN apk --update add py2-pip gcc python-dev musl-dev file make busybox-extras
RUN apk --update add py2-pip gcc python-dev musl-dev postgresql-dev file make busybox-extras
# Install gevent so that we don't need to re-install it when common changes
RUN pip install gevent

Loading…
Cancel
Save