Skip to content

build: add Dockerfile and Docker CI workflow#101

Merged
outofcoffee merged 3 commits intodevelopfrom
feat/dockerfile
Apr 6, 2026
Merged

build: add Dockerfile and Docker CI workflow#101
outofcoffee merged 3 commits intodevelopfrom
feat/dockerfile

Conversation

@outofcoffee
Copy link
Copy Markdown
Contributor

@outofcoffee outofcoffee commented Apr 5, 2026

Add Docker support for running Imposter CLI as a container, with a CI workflow to build and push images.

Summary

  • Add multi-stage Dockerfile using a scratch base image with the Golang engine for a minimal container
  • Add .dockerignore to keep the build context lean
  • Add Docker CI workflow that builds and pushes to impostermocks/cli on Docker Hub (tagged beta for develop, version for tags)
  • Add docs/docker.md with usage examples for running mocks, scaffolding configuration and other commands

outofcoffee and others added 3 commits April 7, 2026 00:12
Switch Dockerfile from alpine to scratch with static Go binary.
Add GitHub Actions workflow to build and push to Docker Hub.
@outofcoffee outofcoffee changed the title build: add Dockerfile and .dockerignore build: add Dockerfile and Docker CI workflow Apr 6, 2026
@outofcoffee outofcoffee changed the base branch from main to develop April 6, 2026 23:15
@outofcoffee outofcoffee marked this pull request as ready for review April 6, 2026 23:18
@outofcoffee outofcoffee merged commit e4b95e1 into develop Apr 6, 2026
4 checks passed
@outofcoffee outofcoffee deleted the feat/dockerfile branch April 6, 2026 23:19
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.

1 participant