hid/Containerfile
Dominik Meyer 23a616d6f0
Some checks reported errors
continuous-integration/drone Build was killed
FIX: added build dependencies
2024-02-02 13:36:29 +01:00

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"]