blob: 6e2928015b5c6311ea677bce3cde139fc5561a21 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# docker run -v $(realpath .):/root/sbotools2 -t sbotools2-test:14.1
FROM vbatts/slackware:14.1
# Project must be mounted here.
VOLUME /root/sbotools2
# Upgrade and install all
RUN sed -i 's/^WGETFLAGS=".*"/WGETFLAGS="--quiet --no-check-certificate"/g' /etc/slackpkg/slackpkg.conf
RUN yes y | slackpkg update && \
slackpkg install-new -terse && \
slackpkg upgrade-all -terse -batch=yes -default_answer=yes && \
slackpkg install -terse -batch=yes -default_answer=yes a ap d f n l t tcl
# Fix SSL certificate errors
RUN yes y | slackpkg reinstall ca-certificates
RUN cpan install \
Capture::Tiny \
Devel::Cover\
Test::Diff \
Test::Exit \
Test::More
# Git configuration some test's setup.
RUN git config --global user.name root \
&& git config --global user.email root@localhost
WORKDIR /root/sbotools2
CMD prove -v t/*.t
|