diff --git a/php-fpm/Dockerfile-56 b/php-fpm/Dockerfile-56 index bdf7e0b0..c079a3d9 100644 --- a/php-fpm/Dockerfile-56 +++ b/php-fpm/Dockerfile-56 @@ -142,6 +142,7 @@ RUN if [ ${INSTALL_MONGO} = true ]; then \ ARG INSTALL_AMQP=false RUN if [ ${INSTALL_AMQP} = true ]; then \ + apt-get update && \ apt-get install librabbitmq-dev -y && \ # Install the amqp extension pecl install amqp && \ diff --git a/php-fpm/Dockerfile-70 b/php-fpm/Dockerfile-70 index 01e1ce7c..5379fa95 100644 --- a/php-fpm/Dockerfile-70 +++ b/php-fpm/Dockerfile-70 @@ -139,6 +139,7 @@ RUN if [ ${INSTALL_MONGO} = true ]; then \ ARG INSTALL_AMQP=false RUN if [ ${INSTALL_AMQP} = true ]; then \ + apt-get update && \ apt-get install librabbitmq-dev -y && \ # Install the amqp extension pecl install amqp && \