Use the new image template

This commit is contained in:
Daniel Berteaud 2024-04-04 13:17:25 +02:00
parent 437d6cbeb3
commit 9ee7716fca
3 changed files with 5 additions and 5 deletions

View File

@ -31,8 +31,7 @@ job "[[ .instance ]]" {
user = 8787
config {
image = "[[ .acme.image ]]"
readonly_rootfs = true
[[ template "common/image" $c ]]
pids_limit = 50
[[ template "common/tmpfs" dict "target" "/data" "size" "10000000" ]]
}

View File

@ -65,7 +65,8 @@ job "acme-to-vault" {
config {
image = "danielberteaud/acme-to-vault:24.3-1"
readonly_rootfs = true
pids_limit = 50
pids_limit = 50
mount {
type = "tmpfs"
target = "/data"

View File

@ -1,4 +1,4 @@
FROM danielberteaud/alpine:24.3-1 AS vault
FROM danielberteaud/alpine:24.4-1 AS vault
ARG VAULT_VERSION=1.15.6
@ -12,7 +12,7 @@ RUN set -euxo pipefail &&\
unzip -d /usr/local/bin vault_${VAULT_VERSION}_linux_amd64.zip &&\
rm vault_${VAULT_VERSION}_linux_amd64.zip
FROM danielberteaud/alpine:24.3-1
FROM danielberteaud/alpine:24.4-1
MAINTAINER Daniel Berteaud <dbd@ehtrace.com>
ARG VAULT_VERSION=1.15.4