Prebuilt mountebank Docker image
Includes:
- Alpine Linux / Debian (slim)
- Node.js 14
- mountebank at :2525
- proxy to jsonplaceholder at :8080
- stateful response fakers for the above proxy at :8273
Run locally
Build a new image based on Dockerfile and run it:
./mountebank
Append any Mountebank command-line parameters:
./mountebank --version
Pass variable BUILD_ARGS to include additional docker build arguments:
BUILD_ARGS="--build-arg FROM_IMAGE=asyrjasalo/mountebank:slimbuster" \
./mountebank
Pass variable RUN_ARGS to include additional docker run arguments.
Build a base image
Alpine Linux:
docker/build_and_test_image
Debian Buster (slim):
IMAGE_KIND="slimbuster" docker/build_and_test_image
Pass variable BUILD_DIR to override the directory path where Dockerfile is.
Push the base image
Remember to docker login first.
Push the image to the private Docker registry:
REGISTRY_URL=https://your.azurecr.io \
docker/tag_and_push_image
Tag and push the image as 'alpine' to Docker Hub:
REGISTRY_URL="$USER" \
docker/tag_and_push_image
Tag and push the image as 'slimbuster' (note: build on Debian image first):
REGISTRY_URL="$USER" \
IMAGE_KIND=slimbuster \
docker/tag_and_push_image
On this page
Languages
JavaScript56.0%HTML22.7%Shell20.2%Dockerfile1.1%
Contributors
Created July 25, 2019
Updated December 25, 2020