goreleaser/docker: removed lib/ refs and other minor changes

This commit is contained in:
David Allen 2024-11-14 16:30:26 -07:00
parent b5d492d6c0
commit 043f8ec120
Signed by: towk
GPG key ID: 793B2924A49B3A3F
2 changed files with 1 additions and 5 deletions

View file

@ -27,7 +27,6 @@ archives:
- LICENSE - LICENSE
- CHANGELOG.md - CHANGELOG.md
- README.md - README.md
- lib/
dockers: dockers:
- -
image_templates: image_templates:
@ -45,7 +44,6 @@ dockers:
- LICENSE - LICENSE
- CHANGELOG.md - CHANGELOG.md
- README.md - README.md
- lib/
checksum: checksum:
name_template: 'checksums.txt' name_template: 'checksums.txt'
snapshot: snapshot:

View file

@ -2,15 +2,13 @@ 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
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/configurator COPY configurator /configurator/configurator
COPY lib/* /configurator/lib/*
CMD ["/configurator"] CMD ["/configurator/configurator"]
ENTRYPOINT [ "/sbin/tini", "--" ] ENTRYPOINT [ "/sbin/tini", "--" ]