From b624addd86f6827dfa99ec20f90aefe8f7ab0300 Mon Sep 17 00:00:00 2001 From: Jessica Frazelle Date: Fri, 5 Jun 2015 12:07:08 -0700 Subject: [PATCH] fix cloudapp and sentry Signed-off-by: Jessica Frazelle --- cloudapp/Dockerfile | 16 +++++++++------- sentry/Dockerfile | 16 +++++++++------- 2 files changed, 18 insertions(+), 14 deletions(-) diff --git a/cloudapp/Dockerfile b/cloudapp/Dockerfile index 8bdfa9e..8d58cea 100644 --- a/cloudapp/Dockerfile +++ b/cloudapp/Dockerfile @@ -1,12 +1,14 @@ -FROM ruby:latest +FROM ruby:1.9.3 MAINTAINER Jessica Frazelle -# update gems -RUN gem update --system -RUN gem update +RUN apt-get update && apt-get install -y \ + libcurl3-dev \ + --no-install-recommends -# install cloudapp -RUN gem install gem-man -RUN gem install cloudapp +# update gems +# and install cloudapp +RUN gem update --system \ + && gem update \ + && gem install gem-man cloudapp ENTRYPOINT ["cloudapp"] diff --git a/sentry/Dockerfile b/sentry/Dockerfile index f053c67..2355fed 100644 --- a/sentry/Dockerfile +++ b/sentry/Dockerfile @@ -3,9 +3,11 @@ MAINTAINER Jessica Frazelle RUN apt-get update && apt-get install -y \ g++ \ + libffi-dev \ libpq5 \ libpq-dev \ libxml2-dev \ + libxslt1-dev \ locales \ postgresql-client-9.4 \ postgresql-client-common \ @@ -15,14 +17,14 @@ RUN apt-get update && apt-get install -y \ --no-install-recommends # locales -ENV LANGUAGE en_US.UTF-8 -ENV LANG en_US.UTF-8 -ENV LC_ALL en_US.UTF-8 -RUN locale-gen en_US.UTF-8 -RUN dpkg-reconfigure locales +ENV LANGUAGE en_US.UTF-8 +ENV LANG en_US.UTF-8 +ENV LC_ALL en_US.UTF-8 +ENV DEBIAN_FRONTEND noninteractive +RUN locale-gen en_US.UTF-8 \ + && dpkg-reconfigure locales -RUN pip install psycopg2 -RUN pip install sentry +RUN pip install psycopg2 sentry EXPOSE 9000