-
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.
chore: update the build environment to get a newer ruby version
- Loading branch information
1 parent
4ec2118
commit ca2e780
Showing
1 changed file
with
5 additions
and
4 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 \ | ||
&& 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 \ | ||
&& cd /tmp/bats-core \ | ||
&& ./install.sh /usr/local \ | ||
&& /tmp/bats-core/install.sh /usr/local \ | ||
&& apt-get clean \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
# hadolint ignore=DL3028 | ||
RUN gem install --quiet rake fpm package_cloud | ||
|
||
WORKDIR /src |