Dockerfile 528 B

123456789101112131415
  1. FROM docker.shemic.com/dev/php:latest
  2. MAINTAINER Rabin "https://github.com/shemic"
  3. RUN apk add --no-cache --update mosquitto-dev php5-dev autoconf gcc g++ make openssl-dev curl git && \
  4. cd /tmp && \
  5. git clone https://github.com/mgdm/Mosquitto-PHP && \
  6. cd Mosquitto-PHP && \
  7. phpize && \
  8. ./configure --with-php-config=/usr/bin/php-config && \
  9. make && \
  10. make install && \
  11. cd .. && rm -rf Mosquitto-PHP && \
  12. apk del php5-dev m4 autoconf gcc g++ make openssl-dev curl git && \
  13. rm -rf /tmp/* /var/cache/apk/*