File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change 1+ FROM ubuntu:18.04
2+
3+ RUN http_proxy=$http_proxy https_proxy=$http_proxy no_proxy=$no_proxy apt-get update
4+ RUN http_proxy=$http_proxy https_proxy=$http_proxy no_proxy=$no_proxy apt-get install -y software-properties-common
5+ RUN http_proxy=$http_proxy https_proxy=$http_proxy no_proxy=$no_proxy add-apt-repository ppa:ondrej/php
6+ RUN http_proxy=$http_proxy https_proxy=$http_proxy no_proxy=$no_proxy apt-get --allow-unauthenticated update
7+ RUN DEBIAN_FRONTEND=noninteractive http_proxy=$http_proxy https_proxy=$http_proxy no_proxy=$no_proxy apt-get install -y --allow-unauthenticated php5.6-dev git-core
8+
9+ # obtain a copy of ZendGuardLoader.so and place it in your repository
10+ COPY . .
11+ RUN git clone https://github.com/lighttpd/xcache
12+ WORKDIR /xcache
13+ RUN patch -p1 < /xcache.patch
14+ RUN phpize
15+ RUN ./configure --enable-xcache-disassembler
16+ RUN make
17+ RUN make install
18+ RUN printf "\n extension=xcache.so" >> /etc/php/5.6/cli/php.ini
19+ RUN printf "\n zend_extension=/ZendGuardLoader.so" >> /etc/php/5.6/cli/php.ini
You can’t perform that action at this time.
0 commit comments