Skip to content

Conversation

Gmin2
Copy link
Contributor

@Gmin2 Gmin2 commented Aug 26, 2025

Description

Added dockerignore and copying only necessary files in Dockerfile

Related issue(s)
Fixes #1798

Inspired from #1800 (comment)

Copy link

changeset-bot bot commented Aug 26, 2025

🦋 Changeset detected

Latest commit: b4b5e65

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@asyncapi/cli Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

asyncapi-bot pushed a commit to Gmin2/cli that referenced this pull request Aug 26, 2025
Copy link
Contributor

github-actions bot commented Aug 26, 2025

Changeset has been generated for this PR as part of auto-changeset workflow.

Please review the changeset before merging the PR.
---
'@asyncapi/cli': minor
---

feat: asyncapi on alpine distros

- ceef6d7: feat: asyncapi on alpine distros
- 1c312c4: refactor: added dockerignore and improved Dockerfile

If you are a maintainer or the author of the PR, you can change the changeset by clicking here

Tip

If you don't want auto-changeset to run on this PR, you can add the label skip-changeset to the PR or remove the changeset and change PR title to something other than fix: or feat:.

asyncapi-bot pushed a commit to Gmin2/cli that referenced this pull request Aug 26, 2025
@Gmin2 Gmin2 force-pushed the optimized-dcoker branch from e9e4741 to 1c312c4 Compare August 26, 2025 18:11
Copy link

@Saru2003
Copy link

Hey @Gmin2 I really like this, I have a few suggestions/doubts if you don't mind.

  • Use COPY --chown=asyncapi:asyncapi instead of running chown -R after copying.
  • Include summary details of runtime to show the optimizations.
  • In .dockerignore, can we keep lockfile for reproducible builds?

@asyncapi-bot asyncapi-bot added the bounty AsyncAPI Bounty program related label label Sep 1, 2025
@aeworxet
Copy link
Contributor

aeworxet commented Sep 1, 2025

@asyncapi/bounty_team

@aeworxet aeworxet moved this to In Progress in Bounty Program Sep 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bounty AsyncAPI Bounty program related label
Projects
Status: In Progress
Status: To Triage
Development

Successfully merging this pull request may close these issues.

[ENHANCEMENT] Docker images are take too long to build and are quite large.
4 participants