Skip to content

Commit

Permalink
feat: introduce a patch for the Docker base layer
Browse files Browse the repository at this point in the history
This patch allows the customisation of the mfe base layer. Without it,
we have to apply changes to the "mfe-dockerfile-pre-npm-install" patch,
and that means re-apply changes for every single MFE.
  • Loading branch information
regisb committed Jun 14, 2024
1 parent f7f21ed commit e455e25
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- [Feature] Introduce a "mfe-dockerfile-base" patch to customise the base layer of the "mfe" Docker image. (by @regisb)
2 changes: 2 additions & 0 deletions tutormfe/templates/mfe/build/mfe/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ RUN echo "copying i18n data" \
{%- endfor %}
echo "done."

{{ patch("mfe-dockerfile-base") }}

{% for app_name, app in iter_mfes() %}
####################### {{ app_name }} MFE
######## {{ app_name }} (git)
Expand Down

0 comments on commit e455e25

Please sign in to comment.