Created
June 3, 2014 16:24
-
-
Save matsuu/03bd48eb43399e0797e5 to your computer and use it in GitHub Desktop.
Dockerfile for tengine-1.5.2
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
FROM centos:latest | |
RUN yum install -y http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm | |
RUN yum install -y gcc pcre-devel zlib-devel openssl-devel libxslt-devel gd-devel lua-devel GeoIP-devel | |
RUN cd /usr/local/src && \ | |
wget http://tengine.taobao.org/download/tengine-1.5.2.tar.gz && \ | |
tar zxf tengine-1.5.2.tar.gz | |
RUN cd /usr/local/src/tengine-1.5.2 && \ | |
./configure --enable-mods-shared=all && \ | |
make && \ | |
make install && \ | |
make dso_install | |
WORKDIR /usr/local/nginx | |
EXPOSE 80 | |
CMD ["sbin/nginx", "-g", "daemon off;"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment