Use the new image template
This commit is contained in:
parent
437d6cbeb3
commit
9ee7716fca
|
@ -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" ]]
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue