File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 1
1
FROM debian:buster
2
2
RUN apt-get update &&\
3
3
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 &&\
5
5
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\
6
6
libsyntax-keyword-try-perl libcapture-tiny-perl libhttp-tinyish-perl libnet-ssleay-perl\
7
7
liburl-encode-perl libextutils-config-perl libextutils-helpers-perl libextutils-installpaths-perl\
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ the C<docker-compose> installation can break your Docker Engine installation.
29
29
To install the Docker Engine it is recommended to follow the guides of the Official Documentation
30
30
L<Docker Engine Installation|https://docs.docker.com/engine/install/>
31
31
32
- =head1 CONTAINER BUILD
32
+ =head1 IMAGE BUILD
33
33
34
34
=item preconditions
35
35
@@ -61,7 +61,16 @@ So the command to build the docker image and launch it is:
61
61
62
62
docker-compose up --build
63
63
64
+ =head1 IMAGE INITIALISATION
64
65
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.
65
74
66
75
67
76
You can’t perform that action at this time.
0 commit comments