fix(AMQP extension): remove unnecessary apt update

Avoid extra update.

Closes #2891
This commit is contained in:
Pavel Savushkin 2021-03-20 00:37:43 +02:00
parent 2a953c1a9a
commit 267b972d17
No known key found for this signature in database
GPG Key ID: BD2EDA3E125300DD

View File

@ -381,7 +381,6 @@ ARG INSTALL_AMQP=false
RUN if [ ${INSTALL_AMQP} = true ]; then \
# download and install manually, to make sure it's compatible with ampq installed by pecl later
# install cmake first
apt-get -yqq update && \
apt-get -yqq install cmake && \
curl -L -o /tmp/rabbitmq-c.tar.gz https://github.com/alanxz/rabbitmq-c/archive/master.tar.gz && \
mkdir -p rabbitmq-c && \