github.com/SagerNet/gvisor@v0.0.0-20210707092255-7731c139d75c/images/runtimes/php7.3.6/Dockerfile (about) 1 FROM ubuntu:bionic 2 RUN apt-get update && apt-get install -y \ 3 autoconf \ 4 automake \ 5 bison \ 6 build-essential \ 7 curl \ 8 libtool \ 9 libxml2-dev \ 10 re2c 11 12 WORKDIR /root 13 ARG VERSION=7.3.6 14 RUN curl -o php-${VERSION}.tar.gz https://www.php.net/distributions/php-${VERSION}.tar.gz 15 RUN tar -zxf php-${VERSION}.tar.gz 16 17 WORKDIR /root/php-${VERSION} 18 RUN ./configure 19 RUN make