mirror of
https://github.com/internetee/registry.git
synced 2025-07-30 14:36:22 +02:00
Preinstalled gems base image (#2208)
* Builds from baseimage with gems preinstalled * Checks for changes in Gemfile * Different conditional steps for build dockerfile selection * Builds new latest gems base image if new gems are added to master
This commit is contained in:
parent
c5719a35f1
commit
00bb2ffb45
4 changed files with 83 additions and 4 deletions
5
Dockerfile.gems
Normal file
5
Dockerfile.gems
Normal file
|
@ -0,0 +1,5 @@
|
|||
FROM internetee/ruby_base:3.0
|
||||
LABEL org.opencontainers.image.source=https://github.com/internetee/registry
|
||||
|
||||
COPY Gemfile Gemfile.lock ./
|
||||
RUN gem install bundler && bundle config set without 'development test' && bundle install --jobs 20 --retry 5
|
Loading…
Add table
Add a link
Reference in a new issue