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 1dbdfdb

Browse filesBrowse files
committed
Dockerfile & README.md for cpan-api
https://github.com/CPAN-API/cpan-api/
1 parent ff5c7d2 commit 1dbdfdb
Copy full SHA for 1dbdfdb

File tree

Expand file treeCollapse file tree

2 files changed

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

2 files changed

+32
-0
lines changed

‎cpan-api/Dockerfile

Copy file name to clipboard
+24Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
FROM ubuntu:14.04
2+
3+
ENV UPDATED_AT 2014-11-17
4+
5+
RUN apt-get update
6+
7+
RUN apt-get install -y \
8+
curl \
9+
gcc \
10+
git \
11+
libcurl4-openssl-dev \
12+
libexpat1-dev \
13+
libxml2-dev \
14+
make
15+
16+
RUN curl -L http://cpanmin.us | perl - App::cpanminus
17+
18+
RUN cpanm Carton
19+
20+
RUN git clone https://github.com/CPAN-API/cpan-api.git /cpan-api/
21+
22+
WORKDIR /cpan-api/
23+
24+
RUN carton install

‎cpan-api/README.md

Copy file name to clipboard
+8Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
2+
You can build a docker image with command:
3+
4+
docker build --tag cpan-api .
5+
6+
And then run it:
7+
8+
docker run -it cpan-api /bin/bash

0 commit comments

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