One Tab Only Addon in Docker, rake assets:precompile


  • Used Zammad version: 6.0
  • Used Zammad installation type: docker compose
  • Operating system: debian
  • Browser + version: firefox 116

i want to use the realy helpfull addon “One Tab Only” (GitHub - Stubenhocker1399/zammad-addon-one-tab-only), but precompile doesnt work:

root@kentix:~/zammad# docker compose exec -it zammad-railsserver rake assets:precompile
rake aborted!
ExecJS::RuntimeUnavailable: Could not find a JavaScript runtime. See GitHub - rails/execjs: Run JavaScript code from Ruby for a list of available runtimes.
/usr/local/bundle/gems/execjs-2.8.1/lib/execjs/runtimes.rb:58:in autodetect' /usr/local/bundle/gems/execjs-2.8.1/lib/execjs.rb:5:in module:ExecJS
/usr/local/bundle/gems/execjs-2.8.1/lib/execjs.rb:4:in <main>' /usr/local/bundle/gems/bootsnap-1.16.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in require’
/usr/local/bundle/gems/bootsnap-1.16.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in require' /usr/local/bundle/gems/zeitwerk-2.6.8/lib/zeitwerk/kernel.rb:38:in require’
/usr/local/bundle/gems/activesupport- block in require' /usr/local/bundle/gems/activesupport- load_dependency’
/usr/local/bundle/gems/activesupport- require' /opt/zammad/config/application.rb:26:in block in <top (required)>’
/opt/zammad/config/application.rb:25:in select' /opt/zammad/config/application.rb:25:in <top (required)>’
/opt/zammad/Rakefile:7:in require_relative' /opt/zammad/Rakefile:7:in <top (required)>’
(See full trace by running task with --trace)

does someone have a idea what is missing?



nodejs has been removed from the provided docker.

We needed it too so we used this Dockerfile.

ARG DOCKER_ZAMMAD=zammad/zammad-docker-compose:zammad-5.0.3-44

FROM node:16.18.0-slim as node


COPY --from=node /opt /opt
COPY --from=node /usr/local/bin /usr/local/bin

USER zammad

# public dir is synced during container startup from /tmp/zammad to /opt/zammad

# Add auto_wizard.json
COPY --chown=zammad:zammad auto_wizard.json ./

# Add favicon
COPY --chown=zammad:zammad public/favicon.ico public/

# Add fonts
COPY --chown=zammad:zammad public/fonts/ public/assets/fonts/


I don’t know about zammad 6.0 but probably similar. (I made several edit due to copy/paste error, sorry)

I hope that you’re no longer using the above highlighted v5.0.
That one’s over two years old and has CVEs.

tks for notifying, it’s an ARG, so no.

hihi to complicated for me :slight_smile: back to package install ^^ works fine