Advertisement
r_martins

Aula 30030 - Dockerfile

Jun 13th, 2024
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. FROM wordpress:latest
  2.  
  3. RUN apt-get update && \
  4. apt-get -y install git subversion default-mysql-client wget && \
  5. curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar && \
  6. chmod +x wp-cli.phar && \
  7. mv wp-cli.phar /usr/local/bin/wp && \
  8. echo "alias wp=\"wp --allow-root\"" >> /root/.bashrc
  9.  
  10. RUN cd /tmp && \
  11. git clone https://github.com/xdebug/xdebug.git && \
  12. cd xdebug && \
  13. git checkout xdebug_3_2 && \
  14. phpize && \
  15. ./configure --enable-xdebug && \
  16. make && \
  17. make install && \
  18. rm -rf /tmp/xdebug
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement