Skip to content

Commit

Permalink
Use the official WireMock Docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
oleg-nenashev committed Jul 14, 2023
1 parent b9b8f0d commit 85269cf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
3 changes: 0 additions & 3 deletions Dockerfile

This file was deleted.

8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,9 @@
[![Slack](https://img.shields.io/badge/slack-slack.wiremock.org-brightgreen?style=flat&logo=slack)](https://slack.wiremock.org/)
[![GitHub contributors](https://img.shields.io/github/contributors/wiremock/wiremock-testcontainers-go)](https://github.com/wiremock/wiremock-testcontainers-go/graphs/contributors)

## Note

The Testcontainers module does not work with the official image at the moment,
because the Mappings and Files directories are not initialized there.
Use a custom image on the top of it, see `Dockerfile`.
This module allows provisioning the WireMock server as a standalone container within your unit tests,
based on [WireMock Docker](https://github.com/wiremock/wiremock-docker) `2.35.0-1` or above.
Custom images are supported too as long as they follow the same CLI and API structure.

## Supported features

Expand Down
2 changes: 1 addition & 1 deletion tc-wiremock.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
)

const defaultWireMockImage = "docker.io/wiremock/wiremock"
const defaultWireMockVersion = "2.35.0-for-tc"
const defaultWireMockVersion = "2.35.0-1"
const defaultPort = "8080"

type WireMockContainer struct {
Expand Down

0 comments on commit 85269cf

Please sign in to comment.