Created
August 11, 2016 17:17
-
-
Save omgjlk/267b9d6959684e8313aa9142d855cd65 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 ubuntu:trusty | |
| MAINTAINER Paul Czarkowski | |
| VOLUME /pkg | |
| RUN echo "deb http://compute_standard.clouds.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse" >> /etc/apt/sources.list | |
| RUN echo "deb-src http://compute_standard.clouds.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse" >> /etc/apt/sources.list | |
| RUN apt-get -yqq update && apt-get dist-upgrade -y | |
| RUN apt-get -yqq update && apt-get install -yqq git curl vim build-essential ruby1.9.1-dev git python-dev python-virtualenv libxml2-dev libxslt-dev libffi-dev libmysqlclient-dev libpq-dev libsqlite3-dev libldap2-dev libsasl2-dev liberasurecode-dev/trusty-backports && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* | |
| RUN pip install -U virtualenv | |
| RUN git config --global user.email "packager@myco" && \ | |
| git config --global user.name "Omnibus Packager" | |
| RUN gem install fpm --no-ri --no-rdoc | |
| RUN git clone https://github.com/blueboxgroup/giftwrap-plugins.git /giftwrap-plugins && cd /giftwrap-plugins && python setup.py install && echo ##NOCACHE## | |
| RUN git clone https://github.com/openstack/giftwrap.git /giftwrap && cd /giftwrap && pip install . && echo ##NOCACHE## | |
| WORKDIR /pkg | |
| CMD giftwrap build -m /tmp/manifest.yml -t package-meta |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment