root / Dockerfile @ 7fb93f38
Historique | Voir | Annoter | Télécharger (576 octets)
1 | 5fea281f | Tim | # MANAGED BY MODULESYNC |
---|---|---|---|
2 | # https://voxpupuli.org/docs/updating-files-managed-with-modulesync/ |
||
3 | |||
4 | FROM ruby:2.7 |
||
5 | 78f22811 | Steve Traylen | |
6 | WORKDIR /opt/puppet |
||
7 | |||
8 | # https://github.com/puppetlabs/puppet/blob/06ad255754a38f22fb3a22c7c4f1e2ce453d01cb/lib/puppet/provider/service/runit.rb#L39 |
||
9 | RUN mkdir -p /etc/sv |
||
10 | |||
11 | 0893064d | Tim Meusel | ARG PUPPET_GEM_VERSION="~> 6.0" |
12 | 78f22811 | Steve Traylen | ARG PARALLEL_TEST_PROCESSORS=4 |
13 | |||
14 | # Cache gems |
||
15 | COPY Gemfile . |
||
16 | RUN bundle install --without system_tests development release --path=${BUNDLE_PATH:-vendor/bundle} |
||
17 | |||
18 | COPY . . |
||
19 | |||
20 | RUN bundle install |
||
21 | RUN bundle exec rake release_checks |
||
22 | |||
23 | # Container should not saved |
||
24 | RUN exit 1 |