-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #69 from voxpupuli/updates
feat: unpin apk packages, remove overcommit, switch back to github runners
- Loading branch information
Showing
6 changed files
with
27 additions
and
152 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
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 |
---|---|---|
|
@@ -4,13 +4,13 @@ FROM $BASE_IMAGE AS builder | |
|
||
# Gems have to be ARG and ENV because they are used as reference in the Gemfile | ||
ARG RUBYGEM_PUPPET | ||
ENV RUBYGEM_PUPPET=${RUBYGEM_PUPPET:-8.8.1} | ||
ENV RUBYGEM_PUPPET=${RUBYGEM_PUPPET:-8.10.0} | ||
|
||
ARG RUBYGEM_FACTER | ||
ENV RUBYGEM_FACTER=${RUBYGEM_FACTER:-4.8.0} | ||
ENV RUBYGEM_FACTER=${RUBYGEM_FACTER:-4.10.0} | ||
|
||
ARG RUBYGEM_VOXPUPULI_TEST | ||
ENV RUBYGEM_VOXPUPULI_TEST=${RUBYGEM_VOXPUPULI_TEST:-9.0.0} | ||
ENV RUBYGEM_VOXPUPULI_TEST=${RUBYGEM_VOXPUPULI_TEST:-9.2.0} | ||
|
||
ARG RUBYGEM_VOXPUPULI_ACCEPTANCE | ||
ENV RUBYGEM_VOXPUPULI_ACCEPTANCE=${RUBYGEM_VOXPUPULI_ACCEPTANCE:-3.2.0} | ||
|
@@ -19,7 +19,7 @@ ARG RUBYGEM_VOXPUPULI_RELEASE | |
ENV RUBYGEM_VOXPUPULI_RELEASE=${RUBYGEM_VOXPUPULI_RELEASE:-3.1.0} | ||
|
||
ARG RUBYGEM_PUPPET_METADATA | ||
ENV RUBYGEM_PUPPET_METADATA=${RUBYGEM_PUPPET_METADATA:-4.2.0} | ||
ENV RUBYGEM_PUPPET_METADATA=${RUBYGEM_PUPPET_METADATA:-4.5.0} | ||
|
||
ARG RUBYGEM_MODULESYNC | ||
ENV RUBYGEM_MODULESYNC=${RUBYGEM_MODULESYNC:-3.2.0} | ||
|
@@ -31,10 +31,10 @@ ARG RUBYGEM_RA10KE | |
ENV RUBYGEM_RA10KE=${RUBYGEM_RA10KE:-3.1.0} | ||
|
||
ARG RUBYGEM_RUBOCOP_PERFORMANCE | ||
ENV RUBYGEM_RUBOCOP_PERFORMANCE=${RUBYGEM_RUBOCOP_PERFORMANCE:-1.21.1} | ||
ENV RUBYGEM_RUBOCOP_PERFORMANCE=${RUBYGEM_RUBOCOP_PERFORMANCE:-1.23.0} | ||
|
||
ARG RUBYGEM_BUNDLER | ||
ENV RUBYGEM_BUNDLER=${RUBYGEM_BUNDLER:-2.5.18} | ||
ENV RUBYGEM_BUNDLER=${RUBYGEM_BUNDLER:-2.5.23} | ||
|
||
COPY voxbox/Gemfile / | ||
|
||
|
@@ -72,18 +72,12 @@ LABEL org.label-schema.maintainer="Voxpupuli Team <[email protected]>" \ | |
org.label-schema.schema-version="1.0" \ | ||
org.label-schema.dockerfile="/Dockerfile" | ||
|
||
# APKs are not used in any other file, so ARG is sufficient. | ||
ARG APK_JQ=1.7.1-r0 | ||
ARG APK_YAMLLINT=1.35.1-r1 | ||
ARG APK_GIT=2.45.2-r0 | ||
ARG APK_CURL=8.11.0-r2 | ||
|
||
RUN apk update \ | ||
&& apk upgrade \ | ||
&& apk add jq=${APK_JQ} \ | ||
&& apk add yamllint=${APK_YAMLLINT} \ | ||
&& apk add git=${APK_GIT} \ | ||
&& apk add curl=${APK_CURL} \ | ||
&& apk add jq \ | ||
&& apk add yamllint \ | ||
&& apk add git \ | ||
&& apk add curl \ | ||
&& rm -rf /var/cache/apk/* \ | ||
&& rm -rf /usr/local/lib/ruby/gems | ||
|
||
|
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 |
---|---|---|
|
@@ -113,6 +113,8 @@ rake voxpupuli:custom:lint_all | |
|
||
## Additionally included Tools | ||
|
||
- curl | ||
- git | ||
- jq | ||
- yamllint | ||
|
||
|
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