Skip to content

Commit abf9868

Browse files
perl documentation for the container perl version
1 parent 033df50 commit abf9868

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM debian:buster
22
RUN apt-get update &&\
33
apt-get -y install apt-utils gcc make openssl &&\
4-
apt-get -y install cpanminus perl-modules liblocal-lib-perl &&\
4+
apt-get -y install cpanminus perl-modules perl-doc liblocal-lib-perl &&\
55
apt-get -y install libdbi-perl libfile-pushd-perl libipc-run3-perl libmodule-runtime-perl libsort-versions-perl libdevel-patchperl-perl libmodule-build-tiny-perl libmodule-pluggable-perl\
66
libsyntax-keyword-try-perl libcapture-tiny-perl libhttp-tinyish-perl libnet-ssleay-perl\
77
liburl-encode-perl libextutils-config-perl libextutils-helpers-perl libextutils-installpaths-perl\

etc/docker/README.pod

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ the C<docker-compose> installation can break your Docker Engine installation.
2929
To install the Docker Engine it is recommended to follow the guides of the Official Documentation
3030
L<Docker Engine Installation|https://docs.docker.com/engine/install/>
3131

32-
=head1 CONTAINER BUILD
32+
=head1 IMAGE BUILD
3333

3434
=item preconditions
3535

@@ -61,7 +61,16 @@ So the command to build the docker image and launch it is:
6161

6262
docker-compose up --build
6363

64+
=head1 IMAGE INITIALISATION
6465

66+
The new built Container Image contains an empty C<perldoc-browser.pl> Installation
67+
To run correctly the Search Backend need to be populated.
68+
So the command to populate the Search Backend is:
69+
70+
docker run -it -v /absolute/path/to/perldoc_web:/home/perldoc-browser:Z perldoc_web perldoc-browser.pl index all
71+
72+
This will execute C<perldoc-browser.pl index all> in the project directory.
73+
The results are stored persistently in the project directory for further container launches.
6574

6675

6776

0 commit comments

Comments
 (0)