-
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.
- Loading branch information
Showing
2 changed files
with
25 additions
and
18 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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM hyperknot/baseimage16:1.0.2 | ||
FROM hyperknot/baseimage16:1.0.4 | ||
|
||
MAINTAINER [email protected] | ||
|
||
|
@@ -8,7 +8,7 @@ ENV DEBIAN_FRONTEND=noninteractive \ | |
# start | ||
RUN cd /tmp \ | ||
&& apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 4F4EA0AAE5267A6C \ | ||
&& add-apt-repository -y ppa:pinepain/libv8-5.4 \ | ||
&& add-apt-repository -y ppa:pinepain/libv8 \ | ||
&& curl -s -o /tmp/couchbase-release-1.0-4-amd64.deb http://packages.couchbase.com/releases/couchbase-release/couchbase-release-1.0-4-amd64.deb \ | ||
&& dpkg -i /tmp/couchbase-release-1.0-4-amd64.deb \ | ||
&& add-apt-repository -y ppa:couchdb/stable \ | ||
|
@@ -17,8 +17,8 @@ RUN cd /tmp \ | |
# install | ||
&& apt-get update && apt-get -y --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 \ | ||
libxml2-dev libxslt1-dev zlib1g-dev libffi-dev libssl-dev libmagickwand-dev procps imagemagick netcat libv8-5.4-dev pkg-config \ | ||
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 libv8-6.6-dev pkg-config \ | ||
mcrypt pwgen language-pack-en-base libicu-dev g++ cpp libglib2.0-dev incron libcouchbase-dev libcouchbase2-libevent \ | ||
php7.2-dev php-pear php-xml php7.2-xml php7.0-dev php7.0-xml php7.1-dev php7.1-xml \ | ||
|
||
|
@@ -38,13 +38,15 @@ RUN cd /tmp \ | |
&& pecl config-set php_bin /usr/bin/php7.2 \ | ||
&& pecl config-set php_suffix 7.2 \ | ||
|
||
&& pecl install -f -a -l v8js \ | ||
&& pecl install -f pcs \ | ||
&& pecl install -f igbinary \ | ||
&& pecl install -f couchbase \ | ||
&& pecl install -f imagick \ | ||
&& cd /tmp && curl -sL https://pecl.php.net/get/v8js > v8js.tgz && tar -xf v8js.tgz && cd v8js-* && phpize && LDFLAGS="-lstdc++" ./configure --with-v8js=/opt/libv8-6.6/ && make && make install \ | ||
&& cd /tmp && curl -sL https://pecl.php.net/get/v8 > v8.tgz && tar -xf v8.tgz && cd v8-* && phpize && ./configure --with-v8=/opt/libv8-6.6/ && make && make install \ | ||
|
||
&& rm -rf /tmp/* \ | ||
|
||
&& rm -rf /tmp/pear/ \ | ||
# install for php 7.0 | ||
&& update-alternatives --set php /usr/bin/php7.0 \ | ||
&& update-alternatives --set phar /usr/bin/phar7.0 \ | ||
|
@@ -54,13 +56,15 @@ RUN cd /tmp \ | |
&& pecl config-set php_bin /usr/bin/php7.0 \ | ||
&& pecl config-set php_suffix 7.0 \ | ||
|
||
&& pecl install -f -a -l v8js \ | ||
&& pecl install -f pcs \ | ||
&& pecl install -f igbinary \ | ||
&& pecl install -f couchbase \ | ||
&& pecl install -f imagick \ | ||
&& cd /tmp && curl -sL https://pecl.php.net/get/v8js > v8js.tgz && tar -xf v8js.tgz && cd v8js-* && phpize && LDFLAGS="-lstdc++" ./configure --with-v8js=/opt/libv8-6.6/ && make && make install \ | ||
&& cd /tmp && curl -sL https://pecl.php.net/get/v8 > v8.tgz && tar -xf v8.tgz && cd v8-* && phpize && ./configure --with-v8=/opt/libv8-6.6/ && make && make install \ | ||
|
||
&& rm -rf /tmp/* \ | ||
|
||
&& rm -rf /tmp/pear/ \ | ||
# install for php 7.1 | ||
&& update-alternatives --set php /usr/bin/php7.1 \ | ||
&& update-alternatives --set phar /usr/bin/phar7.1 \ | ||
|
@@ -70,11 +74,12 @@ RUN cd /tmp \ | |
&& pecl config-set php_bin /usr/bin/php7.1 \ | ||
&& pecl config-set php_suffix 7.1 \ | ||
|
||
&& pecl install -f -a -l v8js \ | ||
&& pecl install -f pcs \ | ||
&& pecl install -f igbinary \ | ||
&& pecl install -f couchbase \ | ||
&& pecl install -f imagick \ | ||
&& cd /tmp && curl -sL https://pecl.php.net/get/v8js > v8js.tgz && tar -xf v8js.tgz && cd v8js-* && phpize && LDFLAGS="-lstdc++" ./configure --with-v8js=/opt/libv8-6.6/ && make && make install \ | ||
&& cd /tmp && curl -sL https://pecl.php.net/get/v8 > v8.tgz && tar -xf v8.tgz && cd v8-* && phpize && ./configure --with-v8=/opt/libv8-6.6/ && make && make install \ | ||
|
||
&& apt-get -y autoremove \ | ||
&& apt-get clean \ | ||
|
@@ -105,9 +110,9 @@ RUN cd /tmp \ | |
&& add-apt-repository 'deb [arch=amd64,i386] http://nyc2.mirrors.digitalocean.com/mariadb/repo/10.2/ubuntu xenial main' \ | ||
|
||
# getting repos for mongodb, java | ||
&& apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A14518585931BC711F9BA15703C6 \ | ||
&& echo 'deb [arch=amd64,i386] http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 multiverse' \ | ||
| sudo tee /etc/apt/sources.list.d/mongodb-3.4.list \ | ||
&& apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 2930ADAE8CAF5059EE73BB4B58712A2291FA4AD5 \ | ||
&& echo 'deb [arch=amd64,i386] http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.6 multiverse' \ | ||
| sudo tee /etc/apt/sources.list.d/mongodb-3.6.list \ | ||
|
||
&& echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true | debconf-set-selections \ | ||
&& add-apt-repository -y ppa:webupd8team/java \ | ||
|
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