Skip to content

Commit 678555c

Browse files
author
Greg Bowler
committed
Add Dockerfile
1 parent b09e9cf commit 678555c

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

Dockerfile

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
FROM ubuntu:latest
2+
3+
RUN apt-get update
4+
RUN apt-get install -y git
5+
RUN git clone git://github.com/php-build/php-build /tmp/php-build
6+
WORKDIR /tmp/php-build
7+
RUN ./install-dependencies.sh
8+
RUN ./install.sh
9+
# Latest stable and latest snapshot versions:
10+
RUN php-build 7.4.10 /etc/php/7.4
11+
RUN php-build 8.0snapshot /etc/php/8.0
12+
# Previous supported:
13+
RUN php-build 7.3.22 /etc/php/7.3
14+
RUN php-build 7.2.33 /etc/php/7.2
15+
RUN php-build 7.1.33 /etc/php/7.1

0 commit comments

Comments
 (0)