File: Dockerfile.prereq

package info (click to toggle)
libgraphql-perl 0.54-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 712 kB
  • sloc: perl: 5,094; makefile: 2
file content (15 lines) | stat: -rw-r--r-- 454 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# prereqs builder

# from https://docs.docker.com/get-started/part2/#dockerfile
# stuff from https://hub.docker.com/_/perl/
# + https://github.com/perl/docker-perl/blob/master/5.026.001-64bit/Dockerfile
FROM perl:5.26.1

# Copy the current directory contents into the container
ADD . /opt/graphql-prereq/

# Install any needed packages - -v so can see errors
RUN cd /opt/graphql-prereq \
  && perl Makefile.PL \
  && cpanm -v --installdeps . \
  && true