Add dependencies required to install psycopg2 from source

We can't install the binaries as they don't support musl
pull/187/head
Mike Lang 5 years ago
parent a89bfcd271
commit 699046f205

@ -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