Projet

Général

Profil

Paste
Télécharger au format
Statistiques
| Branche: | Révision:

root / Dockerfile @ 0893064d

Historique | Voir | Annoter | Télécharger (576 octets)

1
# MANAGED BY MODULESYNC
2
# https://voxpupuli.org/docs/updating-files-managed-with-modulesync/
3

    
4
FROM ruby:2.7
5

    
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
ARG PUPPET_GEM_VERSION="~> 6.0"
12
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