summaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-09-13 21:44:49 +0200
committerChristian Poessinger <christian@poessinger.com>2022-09-13 21:44:49 +0200
commit8cddce0cadce636bbde8e481ae160d22534a71d2 (patch)
tree90e4ada8c8f53440a64c123a6b1e627ae4507b02 /docker
parent47e4a2eea1546f0cbd21658f7df1ad2c55680098 (diff)
downloadvyos-build-8cddce0cadce636bbde8e481ae160d22534a71d2.tar.gz
vyos-build-8cddce0cadce636bbde8e481ae160d22534a71d2.zip
Docker: T2913: fix fpm package installation during container assembly
Error installing fpm: The last version of public_suffix (< 6.0, >= 2.0.2) to support your Ruby & RubyGems was 4.0.7. Try installing it with `gem install public_suffix -v 4.0.7` and then running the current command again public_suffix requires Ruby version >= 2.6. The current ruby version is 2.5.0.
Diffstat (limited to 'docker')
-rw-r--r--docker/Dockerfile1
1 files changed, 1 insertions, 0 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 51a7780f..a6126904 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -604,6 +604,7 @@ RUN apt-get update && apt-get install -y \
ruby-dev \
rubygems \
build-essential
+RUN gem install public_suffix -v 4.0.7
RUN gem install --no-document fpm
# Allow password-less 'sudo' for all users in group 'sudo'