mirror of
https://github.com/davidallendj/configurator.git
synced 2025-12-20 03:27:02 -07:00
Updated Dockerfile and Makefile
This commit is contained in:
parent
6f027fa7fb
commit
dbea108f74
2 changed files with 5 additions and 3 deletions
|
|
@ -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"]
|
||||
|
||||
|
|
|
|||
2
Makefile
2
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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue