File tree Expand file tree Collapse file tree 2 files changed +46
-0
lines changed
Filter options
Expand file tree Collapse file tree 2 files changed +46
-0
lines changed
Original file line number Diff line number Diff line change
1
+ FROM ubuntu:14.04
2
+
3
+ ENV UPDATED_AT 2014-11-10
4
+
5
+ RUN apt-get update
6
+
7
+ RUN apt-get install -y \
8
+ curl \
9
+ gcc \
10
+ make
11
+
12
+ RUN curl -L http://cpanmin.us | perl - App::cpanminus
13
+
14
+ RUN cpanm OrePAN2
Original file line number Diff line number Diff line change
1
+ # OrePAN2
2
+
3
+ This is a dockerized version of perl module [ OrePAN2] ( https://metacpan.org/release/OrePAN2 ) .
4
+
5
+ First you need to build docker image:
6
+
7
+ docker build --tag orepan2 .
8
+
9
+ And then you can use that image to create dakpan structure.
10
+
11
+ docker run \
12
+ --rm \
13
+ --volume $(pwd)/darkpan:/darkpan \
14
+ orepan2 \
15
+ orepan2-inject Test::Whitespaces /darkpan
16
+
17
+ This command will download module Test::Whitespaces from the big CPAN and
18
+ place in at $(pwd)/darkpan Here the sample of what will be created:
19
+
20
+ $ find $(pwd)/darkpan
21
+ /Users/bessarabov/darkpan
22
+ /Users/bessarabov/darkpan/authors
23
+ /Users/bessarabov/darkpan/authors/id
24
+ /Users/bessarabov/darkpan/authors/id/D
25
+ /Users/bessarabov/darkpan/authors/id/D/DU
26
+ /Users/bessarabov/darkpan/authors/id/D/DU/DUMMY
27
+ /Users/bessarabov/darkpan/authors/id/D/DU/DUMMY/Test-Whitespaces-1.2.1.tar.gz
28
+ /Users/bessarabov/darkpan/modules
29
+ /Users/bessarabov/darkpan/modules/02packages.details.txt.gz
30
+ /Users/bessarabov/darkpan/orepan2-cache.json
31
+
32
+ For more examples of using orepan2-inject see the [ docs] ( https://metacpan.org/pod/distribution/OrePAN2/script/orepan2-inject )
You can’t perform that action at this time.
0 commit comments