diff options
author | Slack Coder <slackcoder@server.ky> | 2024-12-10 14:06:06 -0500 |
---|---|---|
committer | Slack Coder <slackcoder@server.ky> | 2025-01-21 15:36:10 -0500 |
commit | ba81bf24d8df5153830f06deb7c2b780fe5c292f (patch) | |
tree | d8c0aefac933b7ed41e4b8faae75b9feaf0b9f1d /docker | |
parent | 82b061208df57c0d1d46b06ffa15ad6846db883b (diff) | |
download | sbotools2-ba81bf24d8df5153830f06deb7c2b780fe5c292f.tar.xz |
GPG verification
Diffstat (limited to 'docker')
-rw-r--r-- | docker/sbotools2-test:14.0.dockerfile | 33 | ||||
-rw-r--r-- | docker/sbotools2-test:14.1.dockerfile | 32 | ||||
-rw-r--r-- | docker/sbotools2-test:14.2.dockerfile | 32 |
3 files changed, 97 insertions, 0 deletions
diff --git a/docker/sbotools2-test:14.0.dockerfile b/docker/sbotools2-test:14.0.dockerfile new file mode 100644 index 0000000..f12465e --- /dev/null +++ b/docker/sbotools2-test:14.0.dockerfile @@ -0,0 +1,33 @@ +# docker run -v $(realpath .):/root/sbotools2 -t sbotools2-test:14.0 + +FROM vbatts/slackware:14.0 + +# 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 + + diff --git a/docker/sbotools2-test:14.1.dockerfile b/docker/sbotools2-test:14.1.dockerfile new file mode 100644 index 0000000..6e29280 --- /dev/null +++ b/docker/sbotools2-test:14.1.dockerfile @@ -0,0 +1,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 + diff --git a/docker/sbotools2-test:14.2.dockerfile b/docker/sbotools2-test:14.2.dockerfile new file mode 100644 index 0000000..a55f004 --- /dev/null +++ b/docker/sbotools2-test:14.2.dockerfile @@ -0,0 +1,32 @@ +# docker run -v $(realpath .):/root/sbotools2 -t sbotools2-test:14.2 + +FROM vbatts/slackware:14.2 + +# 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 + |