Skip to content

Instantly share code, notes, and snippets.

@chriseckhardt
Last active August 29, 2015 14:22
Show Gist options
  • Save chriseckhardt/342cd30690a4a5f49d60 to your computer and use it in GitHub Desktop.
Save chriseckhardt/342cd30690a4a5f49d60 to your computer and use it in GitHub Desktop.
Kochiku Master Dockerfile
# Dockerfile for Kochiku Server
# Copyright 2015 Square, Inc.
FROM centos
MAINTAINER Chris Eckhardt, eckhardt@squareup.com
LABEL Description="This image is used to run a central Kochiku Server" Vendor="Square, Inc."
RUN yum update -y -q -e0 -d0
RUN yum install -y -q -e0 -d0 deltarpm gcc gcc-c++ git openssl mysql-devel ruby ruby-devel rubygems tar
RUN gem install bundler
# Install Kochiku
RUN mkdir /app/ && cd /app/
RUN git clone https://github.com/square/kochiku.git /app/kochiku
RUN cd /app/kochiku && bundle
COPY database.production.yml /app/kochiku/config/database.production.yml
COPY application.yml /app/kochiku/config/application.yml
EXPOSE 80
EXPOSE 3000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment