diff --git a/yelb-appserver/Dockerfile b/yelb-appserver/Dockerfile index 026adb18..b68fdf7c 100644 --- a/yelb-appserver/Dockerfile +++ b/yelb-appserver/Dockerfile @@ -17,8 +17,11 @@ ENV RACK_ENV=production RUN gem install sinatra --no-document RUN gem install redis --no-document ### hack to allow the setup of the pg gem (which would fail otherwise) -RUN apt-get update +# RUN apt-get update +# RUN apt-get install libpq-dev -y +RUN apt-get clean && apt-get update RUN apt-get install libpq-dev -y + ### end of hack (this would require additional research and optimization) RUN gem install pg --no-document ### this installs the AWS SDK for DynamoDB (so that appserver can talk to DDB Vs the default Postgres/Redis)