lib/smartcloud/grids/grid-runner/buildpacks/rails/Dockerfile in smartcloud-0.0.192 vs lib/smartcloud/grids/grid-runner/buildpacks/rails/Dockerfile in smartcloud-0.0.193
- old
+ new
@@ -18,19 +18,19 @@
apk add --update ffmpeg && \
apk add --update mupdf && \
apk add --update mupdf-tools && \
rm -rf /var/cache/apk/*
-USER "$USER_NAME"
-
# Install gems
RUN gem install bundler && \
gem install god
# Generating entrypoint file
RUN echo -e '#!/bin/sh\n\
gem install --no-document --local smartcloud\n\
exec "$@"' >> /entrypoint; chmod +x /entrypoint
+
+USER "$USER_NAME"
# Set entrypoint
ENTRYPOINT ["/entrypoint"]
# Command to execute at container start