From dbea108f74f0c011a9e960618313616d15d3146b Mon Sep 17 00:00:00 2001 From: David Allen Date: Tue, 30 Jul 2024 11:29:19 -0600 Subject: [PATCH] Updated Dockerfile and Makefile --- Dockerfile | 6 ++++-- Makefile | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 97d906e..b36b37d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,13 +1,15 @@ FROM cgr.dev/chainguard/wolfi-base RUN apk add --no-cache tini bash +RUN mkdir -p /configurator +RUN mkdir -p /configurator/lib # nobody 65534:65534 USER 65534:65534 # copy the binary and all of the default plugins -COPY configurator /configurator -COPY lib/* /lib/* +COPY configurator /configurator/configurator +COPY lib/* /configurator/lib/* CMD ["/configurator"] diff --git a/Makefile b/Makefile index 49f7065..f58451d 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,7 @@ exe: docker: binaries plugins - docker build -t configurator:latest . + docker build . --build-arg REGISTRY_HOST=${REGISTRY_HOST} --no-cache --pull --tag '${NAME}:${VERSION}' # build all of the generators into plugins plugins: