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
|
FROM cgr.dev/chainguard/wolfi-base
|
||||||
|
|
||||||
RUN apk add --no-cache tini bash
|
RUN apk add --no-cache tini bash
|
||||||
|
RUN mkdir -p /configurator
|
||||||
|
RUN mkdir -p /configurator/lib
|
||||||
|
|
||||||
# nobody 65534:65534
|
# nobody 65534:65534
|
||||||
USER 65534:65534
|
USER 65534:65534
|
||||||
|
|
||||||
# copy the binary and all of the default plugins
|
# copy the binary and all of the default plugins
|
||||||
COPY configurator /configurator
|
COPY configurator /configurator/configurator
|
||||||
COPY lib/* /lib/*
|
COPY lib/* /configurator/lib/*
|
||||||
|
|
||||||
CMD ["/configurator"]
|
CMD ["/configurator"]
|
||||||
|
|
||||||
|
|
|
||||||
2
Makefile
2
Makefile
|
|
@ -11,7 +11,7 @@ exe:
|
||||||
|
|
||||||
|
|
||||||
docker: binaries plugins
|
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
|
# build all of the generators into plugins
|
||||||
plugins:
|
plugins:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue