summary refs log tree commit diff
diff options
context:
space:
mode:
authorAmber H. Brown <hawkowl@atleastfornow.net>2019-07-17 04:32:50 +1000
committerAmber H. Brown <hawkowl@atleastfornow.net>2019-07-17 04:32:50 +1000
commit7fcd6c1df9df20101f4779f6fda3cd8df2201013 (patch)
tree1c1e90fbed5646a65de5f0accc5c7f5c0f5ebed2
parentfix (diff)
downloadsynapse-7fcd6c1df9df20101f4779f6fda3cd8df2201013.tar.xz
fix
-rw-r--r--docker/Dockerfile-optimised4
1 files changed, 2 insertions, 2 deletions
diff --git a/docker/Dockerfile-optimised b/docker/Dockerfile-optimised
index e3af87b256..6cce3ed3b7 100644
--- a/docker/Dockerfile-optimised
+++ b/docker/Dockerfile-optimised
@@ -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