Skip to content

Commit c7af0df

Browse files
committed
Merge pull request #7 from zakame/issues/remove-dotcpanm-dir
Remove `/root/.cpanm` directory
2 parents 9af2f25 + 1d51fa4 commit c7af0df

File tree

5 files changed

+5
-0
lines changed

5 files changed

+5
-0
lines changed

5.018.004-64bit,threaded/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ WORKDIR /usr/src
2222
RUN curl -LO https://raw.githubusercontent.com/miyagawa/cpanminus/master/cpanm \
2323
&& chmod +x cpanm \
2424
&& ./cpanm App::cpanminus \
25+
&& rm -fr /root/.cpanm \
2526
&& rm ./cpanm
2627

2728
WORKDIR /root

5.018.004-64bit/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ WORKDIR /usr/src
2222
RUN curl -LO https://raw.githubusercontent.com/miyagawa/cpanminus/master/cpanm \
2323
&& chmod +x cpanm \
2424
&& ./cpanm App::cpanminus \
25+
&& rm -fr /root/.cpanm \
2526
&& rm ./cpanm
2627

2728
WORKDIR /root

5.020.001-64bit,threaded/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ WORKDIR /usr/src
2222
RUN curl -LO https://raw.githubusercontent.com/miyagawa/cpanminus/master/cpanm \
2323
&& chmod +x cpanm \
2424
&& ./cpanm App::cpanminus \
25+
&& rm -fr /root/.cpanm \
2526
&& rm ./cpanm
2627

2728
WORKDIR /root

5.020.001-64bit/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ WORKDIR /usr/src
2222
RUN curl -LO https://raw.githubusercontent.com/miyagawa/cpanminus/master/cpanm \
2323
&& chmod +x cpanm \
2424
&& ./cpanm App::cpanminus \
25+
&& rm -fr /root/.cpanm \
2526
&& rm ./cpanm
2627

2728
WORKDIR /root

generate.pl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ =head1 DESCRIPTION
130130
RUN curl -LO https://raw.githubusercontent.com/miyagawa/cpanminus/master/cpanm \
131131
&& chmod +x cpanm \
132132
&& ./cpanm App::cpanminus \
133+
&& rm -fr /root/.cpanm \
133134
&& rm ./cpanm
134135
135136
WORKDIR /root

0 commit comments

Comments
 (0)