Skip to content

Commit

Permalink
chore: update the build environment to get a newer ruby version
Browse files Browse the repository at this point in the history
  • Loading branch information
josegonzalez committed May 19, 2024
1 parent 4ec2118 commit ca2e780
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Dockerfile.build
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

0 comments on commit ca2e780

Please sign in to comment.