Updated Dockerfile and Makefile

This commit is contained in:
David Allen 2024-07-30 11:29:19 -06:00
parent 6f027fa7fb
commit dbea108f74
No known key found for this signature in database
GPG key ID: 717C593FF60A2ACC
2 changed files with 5 additions and 3 deletions

View file

@ -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"]

View file

@ -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: