captn3m0 / google-sre-ebook

Google SRE Book Generator (EPUB/MOBI/PDF).
Do What The F*ck You Want To Public License
1.25k stars 163 forks source link

Unable to build docker image #80

Closed pgillich closed 8 months ago

pgillich commented 8 months ago

The official docker image is quite old. I tried to build docker image on my machine (Ubuntu 22.04), but I got error message, for example:

Building format(s) --all.
        This may take some time... done.
ERROR:  Error installing bundler:
        The last version of bundler (>= 0) to support your Ruby & RubyGems was 2.3.27. Try installing it with `gem in                                                                                            stall bundler -v 2.3.27`
        bundler requires Ruby version >= 3.0.0. The current ruby version is 2.5.0.
The command '/bin/sh -c apt-get update && apt-get install -y --no-install-recommends     build-essential     calibre                                                                                                 file     pandoc     ruby     ruby-dev     lmodern     texlive-fonts-recommended     texlive-xetex     wget     zl                                                                                            ib1g-dev     && gem install bundler --no-ri --no-rdoc     && gem update --system     && apt-get clean     && rm -rf /                                                                                            var/lib/apt/lists/*' returned a non-zero code: 1

I tried it with several base image version (debian:10.x-slim), but I got same or similar result.