Skip to content
This repository was archived by the owner on Dec 12, 2022. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions 16.04/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,21 @@ RUN apt update && \

# Build and install PHP v5.5.38
cd /php-src && ./buildconf --force && \
./configure --with-apxs2=/usr/bin/apxs2 --enable-maintainer-zts && \
./configure --with-apxs2=/usr/bin/apxs2 --enable-maintainer-zts \
--with-mysqli && \
make && make install && \

# Build and install Xdebug
cd / && \
wget https://xdebug.org/files/xdebug-2.5.5.tgz -O xdebug.tar.gz && \
tar -xvzf xdebug.tar.gz && cd /xdebug-2.5.5 && \
phpize && \
./configure --enable-xdebug && \
make && make install && \

# Clean up build environment
rm -rf /php-src/* /bison-2.7/* /bison-2.7.tar.gz && \
rm -rf /php-src/* /bison-2.7/* /bison-2.7.tar.gz /xdebug-2.5.5/* \
/xdebug.tar.gz && \

# Uninstall build prerequisites
apt remove --autoremove -y autoconf automake libtool gcc g++ \
Expand Down
14 changes: 12 additions & 2 deletions 17.10/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,21 @@ RUN apt update && \

# Build and install PHP v5.5.38
cd /php-src && ./buildconf --force && \
./configure --with-apxs2=/usr/bin/apxs2 --enable-maintainer-zts && \
./configure --with-apxs2=/usr/bin/apxs2 --enable-maintainer-zts \
--with-mysqli && \
make && make install && \

# Build and install Xdebug
cd / && \
wget https://xdebug.org/files/xdebug-2.5.5.tgz -O xdebug.tar.gz && \
tar -xvzf xdebug.tar.gz && cd /xdebug-2.5.5 && \
phpize && \
./configure --enable-xdebug && \
make && make install && \

# Clean up build environment
rm -rf /php-src/* /bison-2.7/* /bison-2.7.tar.gz && \
rm -rf /php-src/* /bison-2.7/* /bison-2.7.tar.gz /xdebug-2.5.5/* \
/xdebug.tar.gz && \

# Uninstall build prerequisites
apt remove --autoremove -y autoconf automake libtool gcc g++ \
Expand Down
14 changes: 12 additions & 2 deletions 18.04/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,21 @@ RUN apt update && \

# Build and install PHP v5.5.38
cd /php-src && ./buildconf --force && \
./configure --with-apxs2=/usr/bin/apxs2 --enable-maintainer-zts && \
./configure --with-apxs2=/usr/bin/apxs2 --enable-maintainer-zts \
--with-mysqli && \
make && make install && \

# Build and install Xdebug
cd / && \
wget https://xdebug.org/files/xdebug-2.5.5.tgz -O xdebug.tar.gz && \
tar -xvzf xdebug.tar.gz && cd /xdebug-2.5.5 && \
phpize && \
./configure --enable-xdebug && \
make && make install && \

# Clean up build environment
rm -rf /php-src/* /bison-2.7/* /bison-2.7.tar.gz && \
rm -rf /php-src/* /bison-2.7/* /bison-2.7.tar.gz /xdebug-2.5.5/* \
/xdebug.tar.gz && \

# Uninstall build prerequisites
apt remove --autoremove -y autoconf automake libtool gcc g++ \
Expand Down