diff --git a/dogen/schema/kwalify_schema.yaml b/dogen/schema/kwalify_schema.yaml
index 040cd19..58ea832 100644
--- a/dogen/schema/kwalify_schema.yaml
+++ b/dogen/schema/kwalify_schema.yaml
@@ -43,6 +43,9 @@ map:
     seq:
       - map:
           value: {type: int, required: True}
+  volumes:
+      seq:
+        - {type: str, required: True}
   debugport: {type: int}
   dogen:
     map:
diff --git a/dogen/templates/template.jinja b/dogen/templates/template.jinja
index 170fd59..0912004 100644
--- a/dogen/templates/template.jinja
+++ b/dogen/templates/template.jinja
@@ -121,6 +121,12 @@ USER root
 RUN rm -rf /tmp/artifacts
 {% endif %}
 
+{%- if volumes %}
+{% for volume in volumes %}
+VOLUME ["{{ volume }}"]
+{% endfor %}
+{% endif %}
+
 {%- if workdir %}
 # Specify the working directory
 WORKDIR {{ workdir }}

Add support for volumes
The MaaS broker images needs a volume.  Can support be added for this?  https://docs.docker.com/engine/reference/builder/#volume
diff --git a/tests/test_dockerfile.py b/tests/test_dockerfile.py
index 119b6de..63033dc 100644
--- a/tests/test_dockerfile.py
+++ b/tests/test_dockerfile.py
@@ -110,3 +110,21 @@ class TestDockerfile(unittest.TestCase):
             dockerfile = f.read()
             regex = re.compile(r'.*ENTRYPOINT \["/usr/bin/time"\]',  re.MULTILINE)
             self.assertRegexpMatches(dockerfile, regex)
+
+    def test_volumes(self):
+        """
+        Test that cmd: is mapped into a CMD instruction
+        """
+        with open(self.yaml, 'ab') as f:
+            f.write("volumes:\n  - '/var/lib'\n  - '/usr/lib'".encode())
+
+        generator = Generator(self.log, self.args)
+        generator.configure()
+        generator.render_from_template()
+
+        self.assertEqual(generator.cfg['volumes'], ['/var/lib', '/usr/lib'])
+
+        with open(os.path.join(self.target, "Dockerfile"), "r") as f:
+            dockerfile = f.read()
+            regex = re.compile(r'.*VOLUME \["/var/lib"\]\nVOLUME \["/usr/lib"\]',  re.MULTILINE)
+            self.assertRegexpMatches(dockerfile, regex)

pip install -e .
parse_log_pytest
requirements.txt
pytest pytest-cov mock
apt-get update apt-get install -y gcc
3.6
requirements.txt
pytest --no-header -rA --tb=line --color=no -p no:cacheprovider -W ignore::DeprecationWarning
attrs==22.2.0
certifi==2021.5.30
charset-normalizer==2.0.12
coverage==6.2
docopt==0.6.2
-e git+https://github.com/jboss-dockerfiles/dogen.git@bb52f327cd889a0af7b046762a3856a9e6aecca9#egg=dogen
idna==3.10
importlib-metadata==4.8.3
iniconfig==1.1.1
Jinja2==3.0.3
MarkupSafe==2.0.1
mock==5.2.0
packaging==21.3
pluggy==1.0.0
py==1.11.0
pykwalify==1.8.0
pyparsing==3.1.4
pytest==7.0.1
pytest-cov==4.0.0
python-dateutil==2.9.0.post0
PyYAML==6.0.1
requests==2.27.1
ruamel.yaml==0.18.3
ruamel.yaml.clib==0.2.8
six==1.17.0
tomli==1.2.3
typing_extensions==4.1.1
urllib3==1.26.20
zipp==3.6.0

name: dogen
channels:
  - defaults
  - https://repo.anaconda.com/pkgs/main
  - https://repo.anaconda.com/pkgs/r
  - conda-forge
dependencies:
  - _libgcc_mutex=0.1=main
  - _openmp_mutex=5.1=1_gnu
  - ca-certificates=2025.2.25=h06a4308_0
  - certifi=2021.5.30=py36h06a4308_0
  - ld_impl_linux-64=2.40=h12ee557_0
  - libffi=3.3=he6710b0_2
  - libgcc-ng=11.2.0=h1234567_1
  - libgomp=11.2.0=h1234567_1
  - libstdcxx-ng=11.2.0=h1234567_1
  - ncurses=6.4=h6a678d5_0
  - openssl=1.1.1w=h7f8727e_0
  - pip=21.2.2=py36h06a4308_0
  - python=3.6.13=h12debd9_1
  - readline=8.2=h5eee18b_0
  - setuptools=58.0.4=py36h06a4308_0
  - sqlite=3.45.3=h5eee18b_0
  - tk=8.6.14=h39e8969_0
  - wheel=0.37.1=pyhd3eb1b0_0
  - xz=5.6.4=h5eee18b_1
  - zlib=1.2.13=h5eee18b_1
  - pip:
      - attrs==22.2.0
      - charset-normalizer==2.0.12
      - coverage==6.2
      - docopt==0.6.2
      - idna==3.10
      - importlib-metadata==4.8.3
      - iniconfig==1.1.1
      - jinja2==3.0.3
      - markupsafe==2.0.1
      - mock==5.2.0
      - packaging==21.3
      - pluggy==1.0.0
      - py==1.11.0
      - pykwalify==1.8.0
      - pyparsing==3.1.4
      - pytest==7.0.1
      - pytest-cov==4.0.0
      - python-dateutil==2.9.0.post0
      - pyyaml==6.0.1
      - requests==2.27.1
      - ruamel-yaml==0.18.3
      - ruamel-yaml-clib==0.2.8
      - six==1.17.0
      - tomli==1.2.3
      - typing-extensions==4.1.1
      - urllib3==1.26.20
      - zipp==3.6.0
prefix: /opt/conda/envs/dogen

tests/test_dockerfile.py::TestDockerfile::test_volumes
tests/test_dockerfile.py::TestDockerfile::test_default_cmd_user tests/test_dockerfile.py::TestDockerfile::test_set_cmd tests/test_dockerfile.py::TestDockerfile::test_set_cmd_user tests/test_dockerfile.py::TestDockerfile::test_set_entrypoint
dogen/schema/kwalify_schema.yaml dogen/templates/template.jinja
dogen/schema/kwalify_schema.yaml dogen/templates/template.jinja