From b53fcd65a0baf5e061dd6f719714718757297197 Mon Sep 17 00:00:00 2001 From: Mike Lang Date: Thu, 5 Nov 2020 01:49:39 +1100 Subject: [PATCH] Add dependencies required to install psycopg2 from source We can't install the binaries as they don't support musl --- backfiller/Dockerfile | 2 +- cutter/Dockerfile | 2 +- playlist_manager/Dockerfile | 2 +- sheetsync/Dockerfile | 2 +- thrimshim/Dockerfile | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/backfiller/Dockerfile b/backfiller/Dockerfile index 1516c60..4b3fe20 100644 --- a/backfiller/Dockerfile +++ b/backfiller/Dockerfile @@ -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 diff --git a/cutter/Dockerfile b/cutter/Dockerfile index 7e33b19..9d911f7 100644 --- a/cutter/Dockerfile +++ b/cutter/Dockerfile @@ -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 diff --git a/playlist_manager/Dockerfile b/playlist_manager/Dockerfile index 0331cd9..2e4bb8d 100644 --- a/playlist_manager/Dockerfile +++ b/playlist_manager/Dockerfile @@ -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 diff --git a/sheetsync/Dockerfile b/sheetsync/Dockerfile index 082bf97..a524eab 100644 --- a/sheetsync/Dockerfile +++ b/sheetsync/Dockerfile @@ -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 diff --git a/thrimshim/Dockerfile b/thrimshim/Dockerfile index be27120..2a2ff92 100644 --- a/thrimshim/Dockerfile +++ b/thrimshim/Dockerfile @@ -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