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
%global proj_name cphalcon | |
%global pecl_name phalcon | |
%global pecl_version 2.0.1 | |
%{!?__pecl: %{expand: %%global __pecl %{_bindir}/pecl}} | |
%global php_apiver %((echo 0; php -i 2>/dev/null | sed -n 's/^PHP API => //p') | tail -1) | |
%{!?php_extdir: %{expand: %%global php_extdir %(php-config --extension-dir)}} | |
%{?filter_provides_in: %filter_provides_in %{php_extdir}/.*\.so$} | |
%{?filter_setup} | |
%global __provides_exclude_from %{?__provides_exclude_from:%__provides_exclude_from|}%{php_extdir}/.*\\.so$ |
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 fedora:24 | |
MAINTAINER kjdev <kjclev@gmail.com> | |
RUN dnf -y --setopt=deltarpm=false update \ | |
&& dnf -y --setopt=deltarpm=false install mod_ssl httpd-devel gcc-c++ make automake autoconf libtool file \ | |
&& dnf clean all \ | |
&& rm -f /etc/httpd/conf.d/{welcome.conf,userdir.conf} \ | |
&& rm -f /etc/httpd/conf.modules.d/{00-dav.conf,00-lua.conf,00-proxy.conf,01-cgi.conf} \ | |
&& sed -i 's|#ServerName www.example.com:80|ServerName localhost:80|g' /etc/httpd/conf/httpd.conf \ | |
&& sed -i 's|ErrorLog ".*"|ErrorLog /dev/stdout|g' /etc/httpd/conf/httpd.conf \ |
OlderNewer