Skip to content

Commit

Permalink
chore: update method of installing gems in build env
Browse files Browse the repository at this point in the history
New ruby no longer supports no-ri and no-rdoc.
  • Loading branch information
josegonzalez committed May 19, 2024
1 parent 4cec857 commit 4ec2118
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Dockerfile.build
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
FROM golang:1.20.5-buster

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 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/*

RUN gem install --no-ri --no-rdoc --quiet rake fpm package_cloud
RUN gem install --quiet rake fpm package_cloud

WORKDIR /src

0 comments on commit 4ec2118

Please sign in to comment.