Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

emqx 5.6.0 #61

Merged
merged 1 commit into from
Apr 3, 2024
Merged

emqx 5.6.0 #61

merged 1 commit into from
Apr 3, 2024

Conversation

id
Copy link
Collaborator

@id id commented Apr 3, 2024

  • starting from this release emqx will use Debian 12 as base image
  • update Dockerfile for 5.5 to by in sync with the upstream

- starting from this release emqx will use Debian 12 as base image
- update Dockerfile for 5.5 to by in sync with the upstream
@id id requested a review from Rory-Z April 3, 2024 07:55
echo "$sha256 *$pkg" | sha256sum -c; \
mkdir /opt/emqx; \
tar zxf $pkg -C /opt/emqx; \
find /opt/emqx -name 'swagger*.js.map' -exec rm {} +; \
Copy link
Member

Choose a reason for hiding this comment

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

what is swagger*.js.map? why need to delete it?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It's JavaScript source map files for Swagger UI. These files are very heavy, and only needed if you want to debug some JavaScript code in runtime. I think we don't want to ship tens of megabytes of javascript debug files for Swagger UI.
The library that we use includes these files by default, that's why we delete them here.

@id id merged commit 17a2814 into main Apr 3, 2024
5 checks passed
@id id deleted the 0304-emqx-5.6.0 branch April 3, 2024 12:49
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