Skip to content

Add Docker support for running samples#111

Merged
b-wbvreeuwijk merged 1 commit intomasterfrom
docker-support-sample
Apr 8, 2026
Merged

Add Docker support for running samples#111
b-wbvreeuwijk merged 1 commit intomasterfrom
docker-support-sample

Conversation

@enveryasar
Copy link
Copy Markdown
Contributor

Add Docker Support for Running Samples

Overview

This PR adds Docker support to the Bynder C# SDK, making it easier to run sample files without dealing with .NET version compatibility issues or complex environment setup.

Changes Made

  • Added Dockerfile to create a container with .NET SDK 9.0
  • Created docker-compose.yml to define service configuration
  • Added Makefile with commands to simplify Docker operations
  • Updated README.md with documentation on using Docker

Benefits

  • Eliminates the need to install specific .NET versions on the host machine
  • Provides consistent development environment across different platforms
  • Simplifies running sample files with a standardized command structure
  • Makes testing SDK functionality faster and more accessible

How to Use

Simply follow the instructions in the README.md:

  1. Create a Config.json file with Bynder credentials
  2. Run make run-docker to start the container
  3. Execute samples with make executeSdkSample sample-name=BrandsSample
  4. When finished, run make stop-docker

Testing Done

Successfully tested running all sample files through Docker on macOS.

@coveralls
Copy link
Copy Markdown

Coverage Status

coverage: 53.518%. remained the same
when pulling 466aaab on docker-support-sample
into 09c9177 on master.

@b-wbvreeuwijk b-wbvreeuwijk merged commit 632d4ed into master Apr 8, 2026
2 checks passed
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.

4 participants