-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
64a2dea
commit 5ec6582
Showing
2 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
FROM ruby:2.5.1 | ||
|
||
WORKDIR /opt/puppet | ||
|
||
# https://github.com/puppetlabs/puppet/blob/06ad255754a38f22fb3a22c7c4f1e2ce453d01cb/lib/puppet/provider/service/runit.rb#L39 | ||
RUN mkdir -p /etc/sv | ||
|
||
ARG PUPPET_VERSION="~> 6.0" | ||
ARG PARALLEL_TEST_PROCESSORS=4 | ||
|
||
# Cache gems | ||
COPY Gemfile . | ||
RUN bundle install --without system_tests development release --path=${BUNDLE_PATH:-vendor/bundle} | ||
|
||
COPY . . | ||
|
||
RUN bundle install | ||
RUN bundle exec release_checks | ||
|
||
# Container should not saved | ||
RUN exit 1 |