lib/smartcloud/grids/grid-runner/Dockerfile in smartcloud-0.0.52 vs lib/smartcloud/grids/grid-runner/Dockerfile in smartcloud-0.0.53
- old
+ new
@@ -24,9 +24,14 @@
apk add --update spawn-fcgi && \
rm -rf /var/cache/apk/*
RUN gem install smartcloud --no-rdoc --no-ri
+# Setting environment variables for git-http-backend to use pre-receive hook
+# These will be used by fcgiwrap for fcgi
+ENV SCRIPT_FILENAME=/usr/libexec/git-core/git-http-backend
+ENV GIT_HTTP_EXPORT_ALL=""
+
# 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"