1
0
This commit is contained in:
Amber H. Brown
2019-07-17 04:32:50 +10:00
parent c43c1adb0c
commit 7fcd6c1df9

View File

@@ -21,7 +21,7 @@ FROM matrixdotorg/optimised-python:${PYTHON_VERSION}-optimized-lto-${MARCH} as b
# install the OS build deps
RUN apt-get install -y build-essential libpq5-dev libffi-dev libexpat1-dev libxml2-dev libxslt-dev
RUN apt-get update && apt-get install -y build-essential libpq5-dev libffi-dev libexpat1-dev libxml2-dev libxslt-dev
# build things which have slow build steps, before we copy synapse, so that
# the layer can be cached.
@@ -53,7 +53,7 @@ RUN chown -R root:root /usr/local /install
FROM matrixdotorg/optimised-python:${PYTHON_VERSION}-optimized-lto-${MARCH}
# xmlsec is required for saml support
RUN apt install libpq5 xmlsec libxslt1
RUN apt-get update && apt-get install -y libpq5 xmlsec libxslt1
COPY --from=builder /install /usr/local
COPY ./docker/start.py /start.py