hid/Containerfile

17 lines
403 B
Plaintext
Raw Normal View History

2024-02-02 13:33:38 +01:00
FROM alpine
2024-02-02 13:36:29 +01:00
RUN apk update && apk add --no-cache tini bash perl-app-cpanminus make gcc
2024-02-02 13:33:38 +01:00
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"]