Use the new image template
This commit is contained in:
parent
437d6cbeb3
commit
9ee7716fca
|
@ -31,8 +31,7 @@ job "[[ .instance ]]" {
|
||||||
user = 8787
|
user = 8787
|
||||||
|
|
||||||
config {
|
config {
|
||||||
image = "[[ .acme.image ]]"
|
[[ template "common/image" $c ]]
|
||||||
readonly_rootfs = true
|
|
||||||
pids_limit = 50
|
pids_limit = 50
|
||||||
[[ template "common/tmpfs" dict "target" "/data" "size" "10000000" ]]
|
[[ template "common/tmpfs" dict "target" "/data" "size" "10000000" ]]
|
||||||
}
|
}
|
||||||
|
|
|
@ -65,7 +65,8 @@ job "acme-to-vault" {
|
||||||
config {
|
config {
|
||||||
image = "danielberteaud/acme-to-vault:24.3-1"
|
image = "danielberteaud/acme-to-vault:24.3-1"
|
||||||
readonly_rootfs = true
|
readonly_rootfs = true
|
||||||
pids_limit = 50
|
|
||||||
|
pids_limit = 50
|
||||||
mount {
|
mount {
|
||||||
type = "tmpfs"
|
type = "tmpfs"
|
||||||
target = "/data"
|
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
|
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 &&\
|
unzip -d /usr/local/bin vault_${VAULT_VERSION}_linux_amd64.zip &&\
|
||||||
rm 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>
|
MAINTAINER Daniel Berteaud <dbd@ehtrace.com>
|
||||||
|
|
||||||
ARG VAULT_VERSION=1.15.4
|
ARG VAULT_VERSION=1.15.4
|
||||||
|
|
Loading…
Reference in New Issue