lib/smartcloud/grids/grid-runner/buildpacks/rails/Dockerfile in smartcloud-0.0.195 vs lib/smartcloud/grids/grid-runner/buildpacks/rails/Dockerfile in smartcloud-0.0.196
- old
+ new
@@ -28,12 +28,12 @@
gem install god
# Generating entrypoint file
RUN echo -e '#!/bin/sh\n\
gem install --no-document --local smartcloud\n\
-exec "$@"' >> "/home/$USER_NAME/entrypoint"; chmod +x "/home/$USER_NAME/entrypoint"
+exec "$@"' >> "/home/$(whoami)/entrypoint"; chmod +x "/home/$(whoami)/entrypoint"
# Set entrypoint
-ENTRYPOINT "/home/$USER_NAME/entrypoint"
+ENTRYPOINT "/home/$(whoami)/entrypoint"
# Command to execute at container start
CMD ["buildpacker", "start"]