lib/smartcloud/grids/grid-runner/Dockerfile in smartcloud-0.0.115 vs lib/smartcloud/grids/grid-runner/Dockerfile in smartcloud-0.0.116
- old
+ new
@@ -25,16 +25,14 @@
RUN apk add /root/apk-packages/fcgiwrap/packages/main/x86_64/fcgiwrap-1.1.1-r4.apk --allow-untrusted && \
rm -rf /root/apk-packages
RUN apk add --update coreutils && \
apk add --update git && \
apk add --update git-daemon && \
- apk add --update ruby && \
+ apk add --update ruby && \
apk add --update spawn-fcgi && \
rm -rf /var/cache/apk/*
RUN gem install smartcloud --no-rdoc --no-ri
-# launch fcgiwrap via spawn-fcgi; launch nginx in the foreground
-# so the container doesn't die on us; supposedly we should be
-# using supervisord or something like that instead, but this
-# will do
-CMD "git, fcgiwrap & spawn-fcgi installed"
+COPY spawner.rb "/home/$USER_NAME/spawner.rb"
+
+CMD ["ruby", "/home/$USER_NAME/spawner.rb"]