File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 1
- FROM perl:5.20
1
+ FROM perl:5.24
2
2
MAINTAINER Siddhartha Basu <
[email protected] >
3
3
4
4
ADD https://northwestern.box.com/shared/static/3n0wdp04075oyrnytznn9mzc3k9o92c1.rpm /rpms/
@@ -13,23 +13,25 @@ RUN apt-get update && \
13
13
echo 'export ORACLE_HOME=/usr/lib/oracle/11.2/client64' > /etc/profile.d/oracle.sh \
14
14
&& apt-get clean \
15
15
&& apt-get autoremove \
16
- && rm -rf /var/lib/apt/lists/*
16
+ && rm -rf /var/lib/apt/lists/* \
17
+ && rm -f /var/lib/dpkg/lock
17
18
18
19
ENV ORACLE_HOME /usr/lib/oracle/11.2/client64/
19
20
ENV LD_LIBRARY_PATH /usr/lib/oracle/11.2/client64/lib/
20
21
21
22
ARG curruid
22
23
ARG user
23
- ADD cpanfile /tmp/
24
- ADD dist.ini /tmp/
24
+ ADD . /tmp/
25
25
RUN cd /tmp \
26
26
&& cpanm -n --quiet --installdeps . \
27
27
&& cpanm -n --quiet DBD::Oracle DBD::Pg Math::Base36 String::CamelCase LWP::Protocol::https Child Dist::Zilla \
28
28
&& dzil authordeps --missing | cpanm -n --quiet \
29
+ && perl Build.PL \
30
+ && ./Build install \
29
31
&& rm -fr /rpms \
30
32
&& rm -rf /tmp/*
31
33
# Add an user that will be used for install purpose
32
- RUN useradd -m -s /bin/bash -c "Docker image user" -u $curruid $user
34
+ RUN useradd -m -s /bin/bash -c "Docker image user" -u $curruid $user
33
35
USER $user
34
36
WORKDIR /usr/src/modware
35
37
Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ default: build test
13
13
# upload_url = $(shell curl --silent --data '$(api_json)' https://api.github.com/repos/dictybase/modware-loader/releases/latest?access_token=$(access_token) | jq '.upload_url' | sed -e 's/{.*}//' | sed -e 's/"//g' | sed -e 's/[[:blank:]]*$$//')
14
14
build :
15
15
docker build --rm --build-arg user=$(shell id -nu) --build-arg curruid=$(shell id -u) -t dictybase/modware-loader-test:devel .
16
+ build-bleeding :
17
+ docker build --rm --build-arg user=$(shell id -nu) --build-arg curruid=$(shell id -u) -t dictybase/modware-loader:bleeding .
16
18
test :
17
19
docker run --rm -v $(shell pwd) :/usr/src/modware -e HARNESS_OPTIONS=" j6" dictybase/modware-loader-test:devel
18
20
testpg :
You can’t perform that action at this time.
0 commit comments