Fix the Docker build.

This commit is contained in:
Dave Page 2018-10-29 11:01:47 +00:00
parent 0d5a6eeeff
commit be47390baf

View File

@ -45,7 +45,8 @@ ENV PYTHONPATH=/pgadmin4
# so that deps do not increase the size of resulting image by remaining in layers
COPY ./pgadmin4/requirements.txt /pgadmin4
RUN set -ex && \
apk add --no-cache --virtual build-deps build-base postgresql-dev libffi-dev && \
apk add --no-cache --virtual build-deps build-base postgresql-dev libffi-dev linux-headers && \
pip install --upgrade pip && \
pip install --no-cache-dir -r requirements.txt && \
apk del --no-cache build-deps