Skip to content

Commit

Permalink
Package build: Pin dotenv version to last one that supports Ruby 2.7
Browse files Browse the repository at this point in the history
This is an interim fix until we can upgrade the Ruby version used for
fpm in the build scripts. That is slightly complicated due to the base
OS being intentionally old (to keep an older glibc base version).
  • Loading branch information
lfittl committed Feb 19, 2024
1 parent dd0a679 commit 6b48bd6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/src/Dockerfile.build.deb-systemd
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ RUN apt-get update -qq \
&& apt-get install -y -q build-essential curl git ruby ruby-dev

# FPM
RUN gem install public_suffix -v 4.0.7 && gem install fpm -v 1.14.1
RUN gem install public_suffix -v 4.0.7 && gem install gem install dotenv -v 2.8.1 && gem install fpm -v 1.14.1

# Golang
RUN curl -o go.tar.gz -sSL "https://go.dev/dl/go${GOVERSION}.linux-${TARGETARCH}.tar.gz"
Expand Down
2 changes: 1 addition & 1 deletion packages/src/Dockerfile.build.rpm-systemd
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ ENV SOURCE_DIR /source
RUN yum install -y centos-release-scl scl-utils tar make git rpmdevtools gcc && yum install -y rh-ruby27 rh-ruby27-ruby-devel

# FPM
RUN source scl_source enable rh-ruby27 && gem install fpm -v 1.14.1
RUN source scl_source enable rh-ruby27 && gem install gem install dotenv -v 2.8.1 && gem install fpm -v 1.14.1

# Golang
RUN curl -o go.tar.gz -sSL "https://go.dev/dl/go${GOVERSION}.linux-${TARGETARCH}.tar.gz"
Expand Down

0 comments on commit 6b48bd6

Please sign in to comment.