Skip to content

Add Docker support for Java applications with publishing capabilities#1224

Draft
marshalhayes wants to merge 1 commit intoCommunityToolkit:mainfrom
marshalhayes:fix/java-publish-container
Draft

Add Docker support for Java applications with publishing capabilities#1224
marshalhayes wants to merge 1 commit intoCommunityToolkit:mainfrom
marshalhayes:fix/java-publish-container

Conversation

@marshalhayes
Copy link
Copy Markdown
Contributor

PR Checklist

  • Created a feature/dev branch in your fork (vs. submitting directly from a commit on main)
  • Based off latest main branch of toolkit
  • PR doesn't include merge commits (always rebase on top of our main, if needed)
  • New integration
    • Docs are written
    • Added description of major feature to project description for NuGet package (4000 total character limit, so don't push entire description over that)
  • Tests for the changes have been added (for bug fixes / features) (if applicable)
  • Contains NO breaking changes
  • Every new API (including internal ones) has full XML docs
  • Code follows all style conventions

Other information

- Introduced Dockerfile publishing for Java apps, allowing multi-stage builds.
- Added support for Maven and Gradle build tools with publish annotations.
- Updated launch settings and project files to integrate Docker configurations.
- Created environment files for containerized applications.
- Enhanced README with Docker usage instructions and examples.
- Added unit tests for publish resource creation and build tool annotations.
@github-actions
Copy link
Copy Markdown
Contributor

🚀 Dogfood this PR with:

⚠️ WARNING: Do not do this without first carefully reviewing the code of this PR to satisfy yourself it is safe.

curl -fsSL https://raw.githubusercontent.com/CommunityToolkit/Aspire/main/eng/scripts/dogfood-pr.sh | bash -s -- 1224

Or

  • Run remotely in PowerShell:
iex "& { $(irm https://raw.githubusercontent.com/CommunityToolkit/Aspire/main/eng/scripts/dogfood-pr.ps1) } 1224"

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