Created
January 7, 2016 19:20
-
-
Save brandon-dacrib/f2fe2cd8f4d8ff45a933 to your computer and use it in GitHub Desktop.
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 debian | |
CMD ["/bin/bash"] | |
ENV DEBIAN_FRONTEND noninteractive | |
RUN apt-get update && apt-get -y upgrade | |
RUN apt-get -y install ruby-dev gcc make ruby | |
#RUN apt-get -y install libtool libtool-bin | |
RUN gem install fpm | |
RUN apt-get clean | |
ADD http://dacrib.net/dump/packages/httpd-2.2.31.tar.gz /usr/src/httpd-2.2.31.tar.gz | |
WORKDIR /usr/src | |
RUN tar -xf httpd-2.2.31.tar.gz | |
WORKDIR /usr/src/httpd-2.2.31 | |
RUN apt-get -y install file zlib1g-dev libssl-dev libldap2-dev | |
RUN ./configure --prefix=/usr/local/apache-2.2.31/ --enable-mods-shared=all --enable-proxy=shared --enable-rewrite=shared --enable-cgi=shared --enable-cgid=shared --enable-so --enable-ssl=shared --enable-deflate=shared --with-mpm=worker --with-ldap --with-auth-ldap --enable-authnz-ldap=shared --enable-ldap=shared | |
RUN make | |
RUN make install DESTDIR=/usr/local/apache-2.2.31/ | |
#RUN libtool --finish /usr/local/apache-2.2.31/ | |
WORKDIR /tmp/ | |
RUN fpm -s dir -t deb -n meetup-apache -v 2.2.31 -C /usr/local/apache-2.2.31 -p meetup-apache_2.2.31.deb -m [email protected] --description "Meetup version of the Apache webserver" -a native --license "http://www.apache.org/licenses/LICENSE-2.0" --vendor "Meetup Systems Engineering" --url "https://httpd.apache.org/" | |
RUN rm -rf /usr/local/apache-2.2.31/ | |
RUN dpkg -i meetup-apache_2.2.31.deb | |
RUN dpkg-query -L meetup-apache | |
RUN apt-cache show meetup-apache |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment