Skip to content

Cannot fresh install using bundler into Foreman docker image. #375

@jstewart612

Description

@jstewart612

I tried to overload the Dockerfile as follows:

FROM quay.io/foreman/foreman:3.8-stable
LABEL version="3.8"

RUN echo "gem 'foreman_puppet', '6.0.1'" > /home/foreman/bundler.d/Gemfile.local.rb \
  && PATH=/home/foreman/bin:$PATH bundle install

It installed the gem but when I try to load the front page:

2023-11-21T02:50:28 [W|app|787457e2] Can't find entry point 'foreman_puppet:global' in webpack manifest2023-11-21T02:50:28 [I|app|787457e2] Backtrace for 'Can't find entry point 'foreman_puppet:global' in webpack manifest' error (ActionView::Template::Error): Can't find entry point 'foreman_puppet:global' in webpack manifest
....

I assume there's some other command I have to run in order to regenerate the webpack?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions