- Creating a Dynamics 365 Business Central (BC) container image is easiest using the BcContainerHelper PowerShell module with BuildKit support.
- Steps to set up BuildKit include using provided scripts for setup and running them in separate admin terminals.
- The regular New-BCImage cmdlet can be used to create the BC container image with the desired artifact URL and image name.
- Verifying the image can be done by running a docker command with the image name and necessary environment variables.
- Utilizing BuildKit also allows for support in Docker Desktop's builds view for easier tracking of local builds.
- Changes made to BcContainerHelper were simple adjustments to work around a BuildKit issue for Windows.
- The changes involved modifying the Dockerfile generation and command for building the image with BuildKit.
- The article highlights the author's attempts to create a pull request for BcContainerHelper but facing challenges with builds for BC versions 24 and 25.
Registered users can view the full text for FREE!
Sign In Now!