Update Dockerfile and magellan.sh for container

This commit is contained in:
David J. Allen 2023-10-02 14:57:41 -06:00
parent 54dde2dda6
commit e5613d9a30
2 changed files with 70 additions and 7 deletions

View file

@ -1,13 +1,15 @@
FROM cgr.dev/chainguard/wolfi-base
RUN apk add --no-cache tini
RUN apk add --no-cache tini bash
# nobody 65534:65534
USER 65534:65534
COPY magellan /
COPY magellan /magellan
COPY bin/magellan.sh /usr/bin/magellan.sh
CMD [ "/magellan" ]
CMD [ "/magellan.sh" ]
ENTRYPOINT [ "/sbin/tini", "--" ]