-
-
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 #57 from voxpupuli/curl
fix: add back curl
- Loading branch information
Showing
5 changed files
with
11 additions
and
2 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 |
---|---|---|
|
@@ -2,6 +2,7 @@ ARG BASE_IMAGE=docker.io/ruby:3.2.5-alpine3.20 | |
|
||
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} | ||
Check warning on line 7 in Dockerfile GitHub Actions / build-and-push-container (7, docker.io/ruby:2.7.8-alpine3.16, 7.33.0, 4.9.0, 9.1.0, 3.2.0, 3.1.0,...Legacy key/value format with whitespace separator should not be used
Check warning on line 7 in Dockerfile GitHub Actions / build-and-push-container (8, docker.io/ruby:3.2.5-alpine3.20, 8.9.0, 4.9.0, 9.1.0, 3.2.0, 3.1.0, ...Legacy key/value format with whitespace separator should not be used
|
||
|
||
|
@@ -71,15 +72,18 @@ 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.10.1-r0 | ||
|
||
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} \ | ||
&& 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