Skip to content

Commit ec1c1b7

Browse files
authored
Merge pull request #16 from ballab1/dev
changed to use OS provided versions of cpanminus
2 parents 5923ac5 + 7f4812e commit ec1c1b7

File tree

7 files changed

+29
-8
lines changed

7 files changed

+29
-8
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ ENV DEBUG_TRACE=0
1515

1616

1717
# cpanimus version being bundled in this docker image
18-
ARG CPANIMUS_VERSION=1.7044
19-
LABEL cpanimus.version=$CPANIMUS_VERSION
18+
ARG CPANMINUS_VERSION=1.7044
19+
LABEL cpanminus.version=$CPANMINUS_VERSION
2020

2121

2222
# build content

build/action_folders/02.packages/04.carton.alpine

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22

33
declare -a PKGS=( libxml2
44
libxml2-dev
5+
perl-app-cpanminus
56
python )
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# carton Packages
2+
3+
declare -a PKGS=( libxml2
4+
libxml2-devel
5+
python
6+
libssh2
7+
libuuid-devel
8+
# rh-perl526-perl-App-cpanminus
9+
rh-perl526-perl-Env
10+
uuid
11+
uuid-devel
12+
)
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# carton Packages
2+
3+
declare -a PKGS=( libxml2
4+
libxml2-devel
5+
python
6+
cpanimus
7+
libssh2
8+
libuuid-devel
9+
uuid
10+
uuid-devel
11+
)

build/action_folders/05.applications/01.cpanimus

Lines changed: 0 additions & 3 deletions
This file was deleted.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/bin/bash
22

3-
( cpan install Carton )
3+
PERL_MM_USE_DEFAULT=1 cpan install Carton ||:

docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ services:
66
args:
77
CBF_VERSION: ${CBF_VERSION:-}
88
CONTAINER_NAME: perl-carton
9-
CPANIMUS_VERSION: ${CPANIMUS_VERSION:-1.7044}
9+
CPANMINUS_VERSION: ${CPANMINUS_VERSION:-1.7044}
1010
FROM_BASE: ${DOCKER_REGISTRY:-}${CONTAINER_OS:-}perl/${PERL_VERSION:-5.26.2}:${BASE_TAG:-latest}
1111
cache_from:
1212
- ${DOCKER_REGISTRY:-}${CONTAINER_OS:-}alpine:3.8
@@ -26,4 +26,4 @@ services:
2626
container_name: carton
2727
environment:
2828
DEBUG_TRACE: ${DEBUG_TRACE:-0}
29-
image: ${DOCKER_REGISTRY:-}${CONTAINER_OS:-}perl-carton/${CPANIMUS_VERSION:-1.7044}:${CONTAINER_TAG:-latest}
29+
image: ${DOCKER_REGISTRY:-}${CONTAINER_OS:-}perl-carton/${CPANMINUS_VERSION:-1.7044}:${CONTAINER_TAG:-latest}

0 commit comments

Comments
 (0)