-
Notifications
You must be signed in to change notification settings - Fork 49
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 #104 from gliderlabs/update-gem-install
chore: update method of installing gems in build env and drop rpm support
- Loading branch information
Showing
2 changed files
with
9 additions
and
38 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,14 @@ | ||
FROM golang:1.20.5-buster | ||
FROM golang:1.22.3-bookworm | ||
|
||
# hadolint ignore=DL3027 | ||
RUN apt-get update \ | ||
&& apt install apt-transport-https build-essential curl gnupg2 jq lintian rpm rsync rubygems-integration ruby-dev ruby -qy \ | ||
&& git clone https://github.com/bats-core/bats-core.git /tmp/bats-core \ | ||
&& cd /tmp/bats-core \ | ||
&& ./install.sh /usr/local \ | ||
&& apt-get clean \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
&& apt install apt-transport-https build-essential curl gnupg2 jq lintian rsync rubygems-integration ruby-dev ruby -qy \ | ||
&& git clone https://github.com/bats-core/bats-core.git /tmp/bats-core \ | ||
&& /tmp/bats-core/install.sh /usr/local \ | ||
&& apt-get clean \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
RUN gem install --no-ri --no-rdoc --quiet rake fpm package_cloud | ||
# hadolint ignore=DL3028 | ||
RUN gem install --quiet rake fpm package_cloud | ||
|
||
WORKDIR /src |
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