Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

Commit

Permalink
fix: install postgres client libs required to build pyscopg2 on M1 Macs
Browse files Browse the repository at this point in the history
Note: this adds a lot of extra installation and possible bloat to the
image. Until psycopg2-binary is available for M1, maybe we could provide
a custom wheel.

See psycopg/psycopg2#1286 for details on
pyscopg2-binary availability for M1.
  • Loading branch information
Samyak2 committed Jul 4, 2022
1 parent b42428c commit 8e3d5e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM ubuntu:20.04
WORKDIR /usr/src/app

RUN apt-get update \
&& apt-get install -y python3-pip
&& apt-get install -y python3-pip libpq-dev

COPY requirements /requirements

Expand Down

0 comments on commit 8e3d5e6

Please sign in to comment.