File tree 2 files changed +8
-5
lines changed
2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 98
98
username : ${{ secrets.DOCKER_USERNAME }}
99
99
password : ${{ secrets.DOCKER_GITHUB_TOKEN }}
100
100
dockerfile : Dockerfile
101
- buildargs : BASE=${{ matrix.perl-version }}-bookworm,CPANOUTDATED=1
102
- tags : " ${{ matrix.perl-version }}-bookworm"
101
+ buildargs : BASE=${{ matrix.perl-version }}-slim- bookworm,CPANOUTDATED=1
102
+ tags : " ${{ matrix.perl-version }}-slim- bookworm"
Original file line number Diff line number Diff line change @@ -10,14 +10,17 @@ RUN perl -V
10
10
11
11
RUN apt-get update && \
12
12
apt-get dist-upgrade -y && \
13
- apt-get -y --no-install-recommends install aspell aspell-en
13
+ apt-get -y --no-install-recommends install \
14
+ aspell aspell-en \
15
+ build-essential \
16
+ git
14
17
15
18
RUN cpanm --self-upgrade || \
16
19
( echo "# Installing cpanminus:" ; curl -sL https://cpanmin.us/ | perl - App::cpanminus )
17
20
18
- RUN cpanm -nq App::cpm Carton::Snapshot
21
+ RUN cpanm -nq App::cpm Carton::Snapshot && rm -rf /root/.cpanm
19
22
20
- RUN cpm install -g --show-build-log-on-failure --cpanfile /tmp/cpanfile
23
+ RUN cpm install -g --show-build-log-on-failure --cpanfile /tmp/cpanfile && rm -rf /root/.perl-cpm
21
24
22
25
RUN if [ "x${CPANOUTDATED}" = "x1" ] ; then cpan-outdated --exclude-core -p | xargs -n1 cpanm ; else cpan-outdated --exclude-core -p; fi
23
26
You can’t perform that action at this time.
0 commit comments