File: Dockerfile

package info (click to toggle)
libhttp-oai-perl 4.13-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 436 kB
  • sloc: perl: 2,599; xml: 224; makefile: 15
file content (15 lines) | stat: -rw-r--r-- 509 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
FROM perl:5.30

COPY . /usr/src/app
WORKDIR /usr/src/app
RUN cpanm --quiet . LWP::Protocol::https
#RUN cpanm --quiet --installdeps --notest --force --skip-satisfied .
#RUN cpanm --quiet --notest --skip-satisfied Devel::Cover
#RUN perl Build.PL && ./Build build && cover -test

# For compatibility with Debian suffix-less scripts
RUN ln -s /usr/local/bin/oai_browser.pl /usr/local/bin/oai_browser && \
    ln -s /usr/local/bin/oai_pmh.pl /usr/local/bin/oai_pmh

WORKDIR /tmp
CMD ["/usr/local/bin/oai_browser"]