Patrick Davy
05/01/2025, 4:27 PMhome/wiremock
directory anymore, it's exactly the same image as the one I pulled and tested locally.
Any ideas what's going on here or potential avenues of investigation?Patrick Davy
05/02/2025, 9:36 AMFROM wiremock/wiremock:3.12.1-1
WORKDIR /home/wiremock
COPY ./Configuration/mappings ./mappings
COPY ./Configuration/__files ./__files
RUN ["ls", "mappings"]
RUN ["ls", "__files"]
ENTRYPOINT ["/docker-entrypoint.sh", "--global-response-templating", "--disable-gzip", "--verbose"]
It turns out /home
is a special directory for runtime use in app services that acts as persistent storage. If I changed to a different directory and configured wiremock to use that, it magically works. e.g.
FROM wiremock/wiremock:3.12.1-1
WORKDIR /wiremock/configuration
COPY ./Configuration/mappings ./mappings
COPY ./Configuration/__files ./__files
RUN ["ls", "mappings"]
RUN ["ls", "__files"]
ENTRYPOINT ["/docker-entrypoint.sh", "--global-response-templating", "--disable-gzip", "--verbose", "--root-dir=/wiremock/configuration"]