-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove custom build in pref of stesse v8
- Loading branch information
Showing
33 changed files
with
6 additions
and
18,970 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ FROM phusion/baseimage:0.10.2 | |
LABEL maintainer="noogen <[email protected]>" | ||
ENV DEBIAN_FRONTEND=noninteractive \ | ||
LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 LANGUAGE=en_US.UTF-8 TERM=xterm container=docker | ||
ENV V8VER=7.5 | ||
COPY rootfs/. / | ||
RUN cd /tmp \ | ||
&& chmod +x /etc/service/sshd/run \ | ||
|
@@ -12,14 +13,14 @@ RUN cd /tmp \ | |
&& dpkg -i /tmp/couchbase-release-1.0-4-amd64.deb \ | ||
&& add-apt-repository -y ppa:couchdb/stable \ | ||
&& apt-add-repository -y ppa:ondrej/php \ | ||
&& add-apt-repository -y ppa:stesie/libv8 \ | ||
&& apt-get update && apt-get -yf -o Dpkg::Options::="--force-confdef" --no-install-recommends upgrade \ | ||
&& apt-get -y --no-install-recommends --allow-unauthenticated install wget curl unzip nano vim rsync apt-transport-https openssh-client openssh-server \ | ||
sudo tar git apt-utils software-properties-common build-essential python-dev tcl openssl libpcre3 dnsmasq ca-certificates libpcre3-dev re2c \ | ||
libxml2-dev libxslt1-dev zlib1g-dev libffi-dev libssl-dev libmagickwand-dev procps imagemagick netcat pkg-config \ | ||
mcrypt pwgen language-pack-en-base libicu-dev g++ cpp libglib2.0-dev incron libcouchbase-dev libcouchbase2-libevent \ | ||
libc6 libcurl3 libgcc1 libgssapi-krb5-2 liblttng-ust0 libssl1.0.0 libstdc++6 libunwind8 libuuid1 zlib1g \ | ||
libc6 libcurl3 libgcc1 libgssapi-krb5-2 liblttng-ust0 libssl1.0.0 libstdc++6 libunwind8 libuuid1 zlib1g libasan2 libv8-$V8VER-dev \ | ||
php-pear php-xml php7.3-dev php7.3-xml php7.2-dev php7.2-xml php7.4-dev php7.4-xml \ | ||
&& rsync --update -ahp --progress /opt/libv8-7.4/ /usr/local/ \ | ||
&& systemctl disable incron \ | ||
&& echo 'root' >> /etc/incron.allow \ | ||
&& dpkg --configure -a \ | ||
|
@@ -34,7 +35,7 @@ RUN /usr/bin/switch-php.sh "7.4" \ | |
&& git clone https://github.com/phpv8/v8js.git /tmp/v8js \ | ||
&& cd /tmp/v8js \ | ||
&& git checkout php7 && phpize7.4 \ | ||
&& ./configure LDFLAGS="-lstdc++" CFLAGS="-fsanitize=address -g -O0" CXXFLAGS="-fsanitize=address -g -O0" --with-v8js=/opt/libv8-7.4 \ | ||
&& ./configure CFLAGS="-fsanitize=address -g -O0" CXXFLAGS="-fsanitize=address -g -O0" --with-v8js=/opt/libv8-$V8VER \ | ||
&& make all test install \ | ||
&& mkdir -p /mytmp/20190902 && rsync -ahp /usr/lib/php/20190902/ /mytmp/20190902/ \ | ||
&& rm -rf /tmp/* | ||
|
@@ -43,7 +44,7 @@ RUN /usr/bin/switch-php.sh "7.3" \ | |
&& git clone https://github.com/phpv8/v8js.git /tmp/v8js \ | ||
&& cd /tmp/v8js \ | ||
&& git checkout php7 && phpize7.3 \ | ||
&& ./configure LDFLAGS="-lstdc++" --with-v8js=/opt/libv8-7.4 \ | ||
&& ./configure LDFLAGS="-lstdc++" --with-v8js=/opt/libv8-$V8VER \ | ||
&& make all test install \ | ||
&& mkdir -p /mytmp/20180731 && rsync -ahp /usr/lib/php/20180731/ /mytmp/20180731/ \ | ||
&& rm -rf /tmp/* | ||
|
@@ -52,7 +53,7 @@ RUN /usr/bin/switch-php.sh "7.2" \ | |
&& git clone https://github.com/phpv8/v8js.git /tmp/v8js \ | ||
&& cd /tmp/v8js \ | ||
&& git checkout php7 && phpize7.2 \ | ||
&& ./configure LDFLAGS="-lstdc++" --with-v8js=/opt/libv8-7.4 \ | ||
&& ./configure LDFLAGS="-lstdc++" --with-v8js=/opt/libv8-$V8VER \ | ||
&& make all test install \ | ||
&& rsync -ahp /mytmp/20190902/ /usr/lib/php/20190902/ \ | ||
&& rsync -ahp /mytmp/20180731/ /usr/lib/php/20180731/ \ | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.