Skip to content

[IMP] Odoo 17.0-19.0: remove npm for cleaner image#574

Open
mwath wants to merge 1 commit into
odoo:masterfrom
mwath:master-imp-remove-runtime-npm-wama
Open

[IMP] Odoo 17.0-19.0: remove npm for cleaner image#574
mwath wants to merge 1 commit into
odoo:masterfrom
mwath:master-imp-remove-runtime-npm-wama

Conversation

@mwath

@mwath mwath commented Jun 10, 2026

Copy link
Copy Markdown

The docker image includes the npm package; however, it is only used at build-time to install rtlcss.

This commit removes the package after the installation of rtlcss is done, purging the Docker image from 347 unused packages (freeing 95.2 MB).

@d-fence d-fence left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The same comments apply to the other Dockerfile's too

Comment thread 17.0/Dockerfile
Comment thread 17.0/Dockerfile Outdated
The docker image includes the `npm` package, however, it is only used at
build-time to install rtlcss.

This commit removes the package after the installation of rtlcss is
done, purging the Docker image from 347 unused packages (freeing 95.2 MB).
@mwath mwath force-pushed the master-imp-remove-runtime-npm-wama branch from 7933f55 to 581fca5 Compare June 10, 2026 15:22
@mwath mwath requested a review from d-fence June 12, 2026 09:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants