diff --git a/example/diagrams.nomad.hcl b/example/diagrams.nomad.hcl index eb9e6f4..727e84e 100644 --- a/example/diagrams.nomad.hcl +++ b/example/diagrams.nomad.hcl @@ -67,7 +67,7 @@ job "diagrams" { driver = "docker" config { - image = "danielberteaud/diagrams:24.0.4-1" + image = "danielberteaud/diagrams:24.2.0-1" pids_limit = 200 readonly_rootfs = true volumes = [ @@ -113,6 +113,8 @@ _EOT destination = "local/PostConfig.js" } + + # Use a template block instead of env {} so we can fetch values from vault template { data = <<_EOT diff --git a/example/images/diagrams/Dockerfile b/example/images/diagrams/Dockerfile index 40dcdf9..cd92639 100644 --- a/example/images/diagrams/Dockerfile +++ b/example/images/diagrams/Dockerfile @@ -1,8 +1,8 @@ -FROM danielberteaud/java:17.24.3-1 +FROM danielberteaud/java:17.24.3-5 MAINTAINER Daniel Berteaud ARG TOMCAT_VERSION=10.1.19 \ - DIAGRAMS_VERSION=24.0.4 + DIAGRAMS_VERSION=24.2.0 ENV CATALINA_HOME=/opt/tomcat \ TOMCAT_PORT=8282 \ diff --git a/variables.yml b/variables.yml index d01b47c..5dda414 100644 --- a/variables.yml +++ b/variables.yml @@ -2,7 +2,7 @@ instance: diagrams diagrams: - version: 24.0.4 + version: 24.2.0 image: '[[ .docker.repo ]]diagrams:[[ .diagrams.version ]]-1' env: {} public_url: https://draw.example.org