https://linen.dev logo
#help
Title
# help
k

Kelly Goedert

09/14/2023, 10:03 PM
Hello, I am running wiremock from a docker container. And I need to write a custom transformer. How can I load my transformer in the docker container?
o

Oleg Nenashev

09/15/2023, 8:42 AM
Hello. You can package the transformer as an extension, and then add it to the image as any other extension
t

Tom

09/15/2023, 9:22 AM
Hi @Kelly Goedert here are the docs on writing and running extensions: https://wiremock.org/docs/extending-wiremock/ WireMock 3.0 makes it a bit easier - you can now put a service descriptor file under
META-INF
and then place your extension JAR in the classpath and it’ll be loaded automatically.
🙌 1