Skip to content

Commit e90aa84

Browse files
committed
Add Dockerfile to quickly get the decompiler running
1 parent d03db80 commit e90aa84

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

Dockerfile

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
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 "\nextension=xcache.so" >> /etc/php/5.6/cli/php.ini
19+
RUN printf "\nzend_extension=/ZendGuardLoader.so" >> /etc/php/5.6/cli/php.ini

0 commit comments

Comments
 (0)