File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,10 +2,9 @@ FROM ghcr.io/samvera/hyku/base:latest AS hyku-knap-base
22
33# This is specifically NOT $APP_PATH but the parent directory
44COPY --chown=1001:101 . /app/samvera
5- COPY --chown=1001:101 bundler.d/ /app/.bundler.d/
5+ RUN ln -s /app/samvera/ bundler.d /app/.bundler.d
66ENV BUNDLE_LOCAL__HYKU_KNAPSACK=/app/samvera
77ENV BUNDLE_DISABLE_LOCAL_BRANCH_CHECK=true
8- ENV BUNDLE_BUNDLER_INJECT__GEM_PATH=/app/samvera/bundler.d
98
109RUN bundle install --jobs "$(nproc)"
1110
Original file line number Diff line number Diff line change 99ensure_gem "sentry-ruby"
1010ensure_gem "sentry-rails"
1111ensure_gem "cancancan" , "~> 3.0" # cancancan is bundling to v1.17.0 but we need at least 3.0
12+
13+ override_gem "hyrax" ,
14+ github : "samvera/hyrax" ,
15+ ref : "ab4d108114289822b186579cd73a53d68c145a73"
Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ x-app: &app
1414 # This line is what makes the knapsack include use the local code instead of the remote gem
1515 - BUNDLE_LOCAL__HYKU_KNAPSACK=/app/samvera
1616 - BUNDLE_DISABLE_LOCAL_BRANCH_CHECK=true
17- - BUNDLE_BUNDLER_INJECT__GEM_PATH=/app/samvera/bundler.d
1817 volumes :
1918 - node_modules:/app/samvera/hyrax-webapp/node_modules:cached
2019 - uploads:/app/samvera/hyrax-webapp/public/uploads:cached
You can’t perform that action at this time.
0 commit comments