Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 0b6a36c

Browse filesBrowse files
committed
Dockerfile & README.md for OrePAN2
1 parent 3b78758 commit 0b6a36c
Copy full SHA for 0b6a36c

File tree

Expand file treeCollapse file tree

2 files changed

+46
-0
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+46
-0
lines changed

‎orepan2/Dockerfile

Copy file name to clipboard
+14Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
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

‎orepan2/README.md

Copy file name to clipboard
+32Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
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)

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.