CMake faltante al agregar discourse-code-review, a veces

Esto parece similar a ERROR: CMake is required to build Rugged, pero acabo de probar un bootstrap y falló si no ejecutaba:

  before_code:
    - exec:
        cd: $home
        cmd:
          - apt update
          - apt -y install cmake

Falló de la siguiente manera.

I, [2020-06-22T17:13:16.381492 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate'    
ERROR: Error installing rugged:
        ERROR: Failed to build gem native extension.            
                                                                                                           
    current directory: /var/www/discourse/plugins/discourse-code-review/gems/2.6.5/gems/rugged-0.28.4.1/ext/rugged
/usr/local/bin/ruby -I /usr/local/lib/ruby/site_ruby/2.6.0 -r ./siteconf20200622-21455-f9skgp.rb extconf.rb
checking for gmake... no                
checking for make... yes
checking for cmake... no
ERROR: CMake is required to build Rugged.
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers.  Check the mkmf.log file for more details.  You may
need configuration options.

Provided configuration options:
        --with-opt-dir
        --without-opt-dir
        --with-opt-include
        --without-opt-include=${opt-dir}/include
        --with-opt-lib
        --without-opt-lib=${opt-dir}/lib
        --with-make-prog
        --without-make-prog
        --srcdir=.
        --curdir
        --ruby=/usr/local/bin/$(RUBY_BASE_NAME)
        --with-sha1dc
        --without-sha1dc
        --use-system-libraries

To see why this extension failed to compile, please check the mkmf.log which can be found here:

  /var/www/discourse/plugins/discourse-code-review/gems/2.6.5/extensions/x86_64-linux/2.6.0-static/rugged-0.28.4.1/mkmf.lo
g

extconf failed, exit code 1

Pero en otro sistema pude agregar el plugin sin hacerlo. Ambos son bastante estándar web_only.yml (el que falla se inicia en Kubernetes, el que funciona tiene Traefik como proxy inverso, pero no veo cómo eso afectaría si el bootstrap se ejecutará o no).

Solo lo dejo por si mi solución alternativa ayuda a alguien más o si alguien que sabe algo reconoce algo que debería cambiarse.

La última imagen ya incluye cmake instalado. ¿Estás atrapado en una imagen antigua? Una reconstrucción actualiza.

Aha. rebuild realiza una actualización, pero bootstrap no. Y en el otro sistema, había ejecutado un rebuild más recientemente para algo. Eso lo explica, y supongo que necesito verificar de nuevo que mis bootstraps estén ejecutando un git pull.