Skip to content

Instantly share code, notes, and snippets.

@antoviaque
Created November 20, 2014 20:58
Show Gist options
  • Select an option

  • Save antoviaque/ee5862b920a71daa6a86 to your computer and use it in GitHub Desktop.

Select an option

Save antoviaque/ee5862b920a71daa6a86 to your computer and use it in GitHub Desktop.
# edX MySQL
#
# VERSION 0.1.0
FROM phusion/baseimage:0.9.15
MAINTAINER Filip Jukić <filip@appsembler.com>
RUN apt-get update && apt-get -y install gcc python-dev python-apt python-setuptools git-core && easy_install pip && apt-get -y clean
RUN git clone https://github.com/antoviaque/configuration.git -b docker_multi_release-edxapp /var/tmp/configuration
WORKDIR /var/tmp/configuration
RUN pip install -r requirements.txt
WORKDIR /var/tmp/configuration/playbooks
ADD ./setup /root/
RUN chmod 777 /root/setup
RUN PYTHONUNBUFFERED=1 /root/setup && apt-get clean
EXPOSE 8000 18010
CMD ["/sbin/my_init", "--enable-insecure-key"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment