Skip to content
This repository has been archived by the owner on Oct 5, 2021. It is now read-only.

Commit

Permalink
add dockerfile for playground/minimal setup
Browse files Browse the repository at this point in the history
  • Loading branch information
dollschasingmen committed Jun 14, 2016
1 parent 895e01f commit eb01ca4
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions docker_playground/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
FROM ruby:2.1.6

# install redis
RUN cd /usr/src \
&& wget -c http://download.redis.io/redis-stable.tar.gz \
&& tar xvzf redis-stable.tar.gz \
&& cd redis-stable \
&& make && make install \
&& echo -ne '\n' | utils/install_server.sh

# postgres client libs for streaming from redshift
RUN apt-get update && apt-get install -y postgresql-client --no-install-recommends && rm -rf /var/lib/apt/lists/*

# log location
RUN mkdir -p /var/log/aleph
ENV SERVER_LOG_ROOT /var/log/aleph

# make temp writeable
RUN chmod 777 /tmp

RUN gem install aleph_analytics
EXPOSE 3000

0 comments on commit eb01ca4

Please sign in to comment.