nomad

HCL and Docker files for Nomad deployments
git clone https://git.in0rdr.ch/nomad.git
Log | Files | Refs | Pull requests

commit bcc4cf303eede08485d6766d5eba9737be3c896c
parent 46cc554d944bfe83d86c33527f9e2383ec0e9f05
Author: Andreas Gruhler <andreas.gruhler@adfinis.com>
Date:   Thu,  4 Jul 2024 09:13:16 +0200

feat(updatecli): use debian image

Diffstat:
Mdocker/docker-updatecli/Dockerfile | 9+++++++--
1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/docker/docker-updatecli/Dockerfile b/docker/docker-updatecli/Dockerfile @@ -1,11 +1,16 @@ # https://github.com/updatecli/updatecli/blob/main/Dockerfile FROM ghcr.io/updatecli/updatecli:latest as builder -FROM docker.io/alpine:latest -VOLUME /tmp +# updatecli with stable-slim has no top, expected error: +# 'java.io.IOException: Failed to run top' +FROM debian:stable COPY --from=builder /usr/local/bin/updatecli /usr/local/bin/updatecli + RUN useradd -d /home/updatecli -U -u 1000 -m updatecli + USER updatecli + WORKDIR /home/updatecli + ENTRYPOINT [ "/usr/local/bin/updatecli" ] CMD ["help"]