You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RUN for PLUGIN in ${FOREMAN_PLUGINS}; do echo $PLUGIN; dnf install --nodocs -y "rubygem($PLUGIN)"; echo "gem '$PLUGIN' if ENV.fetch('FOREMAN_ENABLED_PLUGINS', '').split.include?('$PLUGIN') || ENV.fetch('FOREMAN_ENABLED_PLUGINS', nil).nil?" > /usr/share/foreman/bundler.d/$PLUGIN.rb; done && \
dnf clean all
What this does is to install certain plugins (FOREMAN_PLUGINS arg) and then overwrites the included bundler.d file. It does this so you can use FOREMAN_ENABLED_PLUGINS to have plugins installed, but not activated. This reduces the number of containers we need to build: instead of all permutations (which quickly explodes).
Currently this is undocumented, which is probably the first thing to resolve.
A next step is to figure out which containers we do build. Looking at the RPM repos I can imagine 3 variations:
core (no plugins)
core + all plugins in foreman-plugins
core + all plugins in foreman-plugins + katello & all its plugins
Another step is to figure out how to avoid needing to overwrite the shipped bundler.d file, for example using groups (exposing BUNDLER_WITHOUT).
The text was updated successfully, but these errors were encountered:
Right now there is a mechanism to enable/disable plugins:
foreman-quadlet/container-images/foreman/Containerfile
Lines 5 to 10 in ff176ec
What this does is to install certain plugins (
FOREMAN_PLUGINS
arg) and then overwrites the includedbundler.d
file. It does this so you can useFOREMAN_ENABLED_PLUGINS
to have plugins installed, but not activated. This reduces the number of containers we need to build: instead of all permutations (which quickly explodes).Currently this is undocumented, which is probably the first thing to resolve.
A next step is to figure out which containers we do build. Looking at the RPM repos I can imagine 3 variations:
Another step is to figure out how to avoid needing to overwrite the shipped bundler.d file, for example using groups (exposing
BUNDLER_WITHOUT
).The text was updated successfully, but these errors were encountered: