Merge pull request #7 from zakame/issues/remove-dotcpanm-dir

Remove `/root/.cpanm` directory
This commit is contained in:
Peter Martini 2014-11-06 02:45:15 +01:00
commit c7af0df2f1
5 changed files with 5 additions and 0 deletions

View file

@ -22,6 +22,7 @@ WORKDIR /usr/src
RUN curl -LO https://raw.githubusercontent.com/miyagawa/cpanminus/master/cpanm \
&& chmod +x cpanm \
&& ./cpanm App::cpanminus \
&& rm -fr /root/.cpanm \
&& rm ./cpanm
WORKDIR /root

View file

@ -22,6 +22,7 @@ WORKDIR /usr/src
RUN curl -LO https://raw.githubusercontent.com/miyagawa/cpanminus/master/cpanm \
&& chmod +x cpanm \
&& ./cpanm App::cpanminus \
&& rm -fr /root/.cpanm \
&& rm ./cpanm
WORKDIR /root

View file

@ -22,6 +22,7 @@ WORKDIR /usr/src
RUN curl -LO https://raw.githubusercontent.com/miyagawa/cpanminus/master/cpanm \
&& chmod +x cpanm \
&& ./cpanm App::cpanminus \
&& rm -fr /root/.cpanm \
&& rm ./cpanm
WORKDIR /root

View file

@ -22,6 +22,7 @@ WORKDIR /usr/src
RUN curl -LO https://raw.githubusercontent.com/miyagawa/cpanminus/master/cpanm \
&& chmod +x cpanm \
&& ./cpanm App::cpanminus \
&& rm -fr /root/.cpanm \
&& rm ./cpanm
WORKDIR /root

View file

@ -130,6 +130,7 @@ WORKDIR /usr/src
RUN curl -LO https://raw.githubusercontent.com/miyagawa/cpanminus/master/cpanm \
&& chmod +x cpanm \
&& ./cpanm App::cpanminus \
&& rm -fr /root/.cpanm \
&& rm ./cpanm
WORKDIR /root