[Rspamd] Use tini
parent
c3e36be576
commit
6b6470fe54
|
@ -22,7 +22,8 @@ COPY settings.conf /etc/rspamd/modules.d/settings.conf
|
||||||
#COPY ratelimit.lua /usr/share/rspamd/lua/ratelimit.lua
|
#COPY ratelimit.lua /usr/share/rspamd/lua/ratelimit.lua
|
||||||
#COPY lua_util.lua /usr/share/rspamd/lib/lua_util.lua
|
#COPY lua_util.lua /usr/share/rspamd/lib/lua_util.lua
|
||||||
COPY docker-entrypoint.sh /docker-entrypoint.sh
|
COPY docker-entrypoint.sh /docker-entrypoint.sh
|
||||||
|
COPY tini /sbin/tini
|
||||||
|
|
||||||
ENTRYPOINT ["/docker-entrypoint.sh"]
|
ENTRYPOINT ["/docker-entrypoint.sh"]
|
||||||
|
|
||||||
CMD /usr/bin/rspamd -f -u _rspamd -g _rspamd
|
CMD ["/usr/bin/rspamd", "-f", "-u", "_rspamd", "-g", "_rspamd"]
|
||||||
|
|
|
@ -2,4 +2,4 @@
|
||||||
|
|
||||||
chown -R _rspamd:_rspamd /var/lib/rspamd
|
chown -R _rspamd:_rspamd /var/lib/rspamd
|
||||||
|
|
||||||
exec "$@"
|
exec /sbin/tini -- "$@"
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue