1 Star 1 Fork 0

user_117262 / yii2-starter-kit

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Dockerfile 1.23 KB
一键复制 编辑 原始数据 按行查看 历史
Eugene Terentev 提交于 2015-08-29 21:13 . docker fix
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
PHP
1
https://gitee.com/wugf/yii2-starter-kit.git
git@gitee.com:wugf/yii2-starter-kit.git
wugf
yii2-starter-kit
yii2-starter-kit
master

搜索帮助