File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 22ARG RUBY_VERSION=3.3.4
33FROM registry.docker.com/library/ruby:$RUBY_VERSION-slim as base
44
5+ # Current commit hash environment variable
6+ ARG GIT_COMMIT
7+ ENV GIT_COMMIT_SHA=${GIT_COMMIT}
8+
59# Install packages needed to build gems and node modules
610RUN apt-get update -qq && \
711 apt-get install --no-install-recommends -y build-essential curl git libpq-dev libvips node-gyp pkg-config python-is-python3
@@ -76,7 +80,3 @@ ENTRYPOINT ["./.controlplane/entrypoint.sh"]
7680# Default args to pass to the entry point that can be overridden
7781# For Kubernetes and ControlPlane, these are the "workload args"
7882CMD ["./bin/rails" , "server" ]
79-
80- # Current commit hash environment variable
81- ARG GIT_COMMIT_SHA
82- ENV GIT_COMMIT_SHA=${GIT_COMMIT_SHA}
You can’t perform that action at this time.
0 commit comments