|
@@ -14,7 +14,7 @@
|
|
|
|
|
|
FROM laradock/workspace:2.0-56
|
|
|
|
|
|
-MAINTAINER Mahmoud Zalt <mahmoud@zalt.me>
|
|
|
+LABEL maintainer="Mahmoud Zalt <mahmoud@zalt.me>"
|
|
|
|
|
|
# Remove Faillog and Lastlog to reduce the size of the final image.
|
|
|
RUN rm /var/log/lastlog /var/log/faillog
|
|
@@ -233,12 +233,10 @@ RUN if [ ${INSTALL_MONGO} = true ]; then \
|
|
|
# AMQP:
|
|
|
#####################################
|
|
|
|
|
|
-# Check if Mongo needs to be installed
|
|
|
ARG INSTALL_AMQP=false
|
|
|
ENV INSTALL_AMQP ${INSTALL_AMQP}
|
|
|
RUN if [ ${INSTALL_AMQP} = true ]; then \
|
|
|
apt-get install librabbitmq-dev -y && \
|
|
|
- # Install the mongodb extension
|
|
|
pecl -q install amqp && \
|
|
|
echo "extension=amqp.so" >> /etc/php/5.6/mods-available/amqp.ini && \
|
|
|
ln -s /etc/php/5.6/mods-available/amqp.ini /etc/php/5.6/cli/conf.d/30-amqp.ini \
|