Skip to content

Instantly share code, notes, and snippets.

@brandon-dacrib
Created January 7, 2016 19:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brandon-dacrib/8838d72330018777ec37 to your computer and use it in GitHub Desktop.
Save brandon-dacrib/8838d72330018777ec37 to your computer and use it in GitHub Desktop.
brandon@brandon-mba ~/Documents/devel/meetup/docker/build-apache $ docker build .
Sending build context to Docker daemon 3.072 kB
Step 1 : FROM debian
---> 23cb15b0fcec
Step 2 : CMD /bin/bash
---> Using cache
---> 3f81e0381be1
Step 3 : ENV DEBIAN_FRONTEND noninteractive
---> Using cache
---> 09549d23f174
Step 4 : RUN apt-get update && apt-get -y upgrade
---> Using cache
---> 0873fdf6b3e9
Step 5 : RUN apt-get -y install ruby-dev gcc make ruby
---> Using cache
---> 63d9ae6acfa9
Step 6 : RUN gem install fpm
---> Using cache
---> b593145e7219
Step 7 : RUN apt-get clean
---> Using cache
---> e58bfdc13f05
Step 8 : ADD http://dacrib.net/dump/packages/httpd-2.2.31.tar.gz /usr/src/httpd-2.2.31.tar.gz
Downloading [==================================================>] 7.584 MB/7.584 MB
---> Using cache
---> 9d2791888d4e
Step 9 : WORKDIR /usr/src
---> Using cache
---> 956a0e06ca38
Step 10 : RUN tar -xf httpd-2.2.31.tar.gz
---> Using cache
---> 2332c7724c45
Step 11 : WORKDIR /usr/src/httpd-2.2.31
---> Using cache
---> d95b2e2b585b
Step 12 : RUN apt-get -y install file zlib1g-dev libssl-dev libldap2-dev
---> Using cache
---> 1bcfa9a9857a
Step 13 : 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
---> Using cache
---> ebb30a3be181
Step 14 : RUN make
---> Using cache
---> ed8ca148fa0d
Step 15 : RUN make install DESTDIR=/usr/local/apache-2.2.31/
---> Using cache
---> 81726db22b9a
Step 16 : WORKDIR /tmp/
---> Using cache
---> 303c9f9cdfca
Step 17 : 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 brandon@meetup.com --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/"
---> Using cache
---> a6ff54460999
Step 18 : RUN rm -rf /usr/local/apache-2.2.31/
---> Using cache
---> 22202bad0ed7
Step 19 : RUN dpkg -i meetup-apache_2.2.31.deb
---> Using cache
---> 3a3378d8a381
Step 20 : RUN dpkg-query -L meetup-apache
---> Using cache
---> 76ad9fbd37cc
Step 21 : RUN apt-cache show meetup-apache
---> Using cache
---> 1e27773ed6a0
Step 22 : CMD /bin/bash
---> Using cache
---> 0f2b6ac71e62
Successfully built 0f2b6ac71e62
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment