Dockerfile
raw| 1 | # from https://docs.docker.com/get-started/part2/#dockerfile |
| 2 | # stuff from https://hub.docker.com/_/perl/ |
| 3 | # + https://github.com/perl/docker-perl/blob/master/5.026.001-64bit/Dockerfile |
| 4 | FROM graphqlperl/graphql-prereq:latest |
| 5 | |
| 6 | # Copy the current directory contents into the container |
| 7 | ADD . /opt/graphql-lib/ |
| 8 | |
| 9 | RUN cd /opt/graphql-lib \ |
| 10 | && perl Makefile.PL \ |
| 11 | && make test install \ |
| 12 | && perl5.26.1 -MGraphQL -e0 |