hid/Containerfile

17 lines
394 B
Plaintext
Raw Normal View History

2024-02-02 13:33:38 +01:00
FROM alpine
RUN apk update && apk add --no-cache tini bash perl-app-cpanminus
RUN cpanm install HiD
RUN cpanm install HiD::Generator::BibtexPage
ADD scripts/entryPoint.sh /plugin.sh
RUN chmod +x /plugin.sh
# add a user for running imapfilter in the container
RUN addgroup hid && adduser -D -G hid hid
# run everything as the hid user
USER hid
ENTRYPOINT ["/sbin/tini", "--", "/plugin.sh"]