Builds are broken due to a missing ruby dependency
Closed this issue · 0 comments
adejanovski commented
Builds started failing yesterday when installing fpm in the docker-build image:
150.8 ERROR: Error installing fpm:
150.8 The last version of dotenv (>= 0) to support your Ruby & RubyGems was 2.8.1. Try installing it with `gem install dotenv -v 2.8.1` and then running the current command again
150.8 dotenv requires Ruby version >= 3.0. The current ruby version is 2.7.0.0.
150.8 Successfully installed stud-0.0.23
------
Dockerfile:24
--------------------
23 | # install dependencies
24 | >>> RUN apt-get update \
25 | >>> && apt-get install -y \
26 | >>> curl \
27 | >>> && curl -sL https://deb.nodesource.com/setup_10.x -o nodesource_setup.sh \
28 | >>> && bash nodesource_setup.sh \
29 | >>> && DEBIAN_FRONTEND="noninteractive" apt-get install -y \
30 | >>> build-essential \
31 | >>> git \
32 | >>> openjdk-8-jdk \
33 | >>> openjdk-11-jdk \
34 | >>> maven \
35 | >>> nodejs \
36 | >>> python2 \
37 | >>> rpm \
38 | >>> ruby-dev \
39 | >>> && mvn --version \
40 | >>> && gem install fpm \
41 | >>> && npm install -g bower
42 |
--------------------
ERROR: failed to solve: process "/bin/sh -c apt-get update && apt-get install -y curl && curl -sL https://deb.nodesource.com/setup_10.x -o nodesource_setup.sh && bash nodesource_setup.sh && DEBIAN_FRONTEND=\"noninteractive\" apt-get install -y build-essential git openjdk-8-jdk openjdk-11-jdk maven nodejs python2 rpm ruby-dev && mvn --version && gem install fpm && npm install -g bower" did not complete successfully: exit code: 1
Service 'build' failed to build : Build failed
Recommended fix above is to install dotenv explicitly using gem install dotenv -v 2.8.1