Compare commits

..

4 Commits

Author SHA1 Message Date
ba1d986877 an entrypoint again 2024-03-23 23:22:32 -07:00
4cc30d6076 Revert "Revert "docker entrypoint fix""
This reverts commit 555ee67990.
2024-03-23 23:21:29 -07:00
9ff10e32f2 Revert "Revert "oops""
This reverts commit eff7caa566.
2024-03-23 23:21:28 -07:00
eec41acc31 Revert "Revert "add entrypoint to ensure TLS file permissions""
This reverts commit e4267e2902.
2024-03-23 23:21:25 -07:00
2 changed files with 6 additions and 1 deletions

View File

@ -12,6 +12,8 @@ RUN addgroup -S --gid 10001 mb && \
USER 10000 USER 10000
COPY --from=builder --chown=10000:10001 /go/bin/molly-brown /mb COPY --from=builder --chown=10000:10001 /go/bin/molly-brown /mb
COPY ./molly.conf /mb/molly.conf COPY --chown=10000:10001 ./molly.conf /mb/molly.conf
COPY --chown=10000:10001 ./entrypoint.sh /mb/entrypoint.sh
ENTRYPOINT /mb/entrypoint.sh
CMD /mb/molly-brown -c /mb/molly.conf CMD /mb/molly-brown -c /mb/molly.conf

3
entrypoint.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
chown 10000:10001 /mb/tls
chmod 600 -R /mb/tls