Files
husk-milter/docker
Malte Meiboom 1f8d7e9a3f Add test framework to test
- Mail encryption (when expected)
- Introducer listing, adding and removing
- Locals listing, adding and removing
2026-05-20 14:27:28 +02:00
..
2026-05-20 14:27:28 +02:00
2026-05-20 14:27:28 +02:00
2026-01-23 13:56:05 +01:00

Content

This directory contains docker images and related provisioning files for setting up test environments.

MTA

  • docker container file: MTAContainerFile
  • provisioning: inside mta_provision/

Build

$ docker build -f MTAContainerFile -t localhost/mta .

Use

Check the image interactively

$ docker run -ti --rm localhost/mta bash -i

Use locally, no git clone and cargo build. This use case assumes that a binary has been locally build and can be mapped into the docker image.

The mapped binary will be started, alongside postfix and hockeypuck.

$ docker run -ti --rm \
  --mount type=bind,src=$(pwd),dst=/opt/husk/mapped/
  localhost/mta bash -c "/usr/bin/prepare.sh && bash -i"