docker/Dockerfile in basquiat-1.2.0 vs docker/Dockerfile in basquiat-1.3.0.pre.1
- old
+ new
@@ -1,10 +1,15 @@
-FROM mereghost/ruby:latest
+FROM mereghost/ruby:2.2.2
-RUN useradd -m -g users dev
-
+RUN useradd -mg users -G network dev
VOLUME /basquiat
WORKDIR /basquiat
ENV REFRESHED_AT 2015-03-29
+USER dev
COPY Gemfile /tmp/Gemfile
+
+#This is needed by bundler =/
+ENV GEM_HOME=/home/dev/.gem
RUN cd /tmp && bundle install
+
+EXPOSE 8808