代码拉取完成,页面将自动刷新
FROM php:5.6-cli
MAINTAINER Eugene Terentev <eugene@terentev.net>
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get --yes install \
git \
openssl \
curl \
wget \
libicu-dev \
libfreetype6-dev \
libjpeg62-turbo-dev \
libmcrypt-dev \
libpng12-dev \
libicu-dev
RUN docker-php-ext-install zip mcrypt intl mbstring pdo_mysql \
&& docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \
&& docker-php-ext-install gd
RUN curl -sL https://deb.nodesource.com/setup_0.12 | bash -
RUN DEBIAN_FRONTEND=noninteractive apt-get --yes install \
nodejs \
build-essential \
default-jre
RUN curl -sL https://www.npmjs.org/install.sh | bash -
RUN apt-get autoremove -y \
&& rm -r /var/lib/apt/lists/*
RUN npm install -g uglifyjs yuicompressor
# Install composer && global asset plugin
ENV COMPOSER_HOME /root/.composer
ENV PATH /root/.composer/vendor/bin:$PATH
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer && \
/usr/local/bin/composer global require "fxp/composer-asset-plugin"
COPY . /app
RUN chown www-data:www-data -R /app
USER www-data
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。