17 lines
403 B
Docker
17 lines
403 B
Docker
FROM alpine
|
|
|
|
RUN apk update && apk add --no-cache tini bash perl-app-cpanminus make gcc
|
|
|
|
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"] |