docker files

This commit is contained in:
localstepdo 2020-04-13 15:32:51 -07:00
parent 31828ec6bf
commit 48cb02f765
5 changed files with 207 additions and 0 deletions

View File

@ -0,0 +1,10 @@
# has containers
Custom containers used for testing https://github.com/kdabir/has
| container image | status |
|------------------------------|--------|
| sdolenc/testing-has:alpine | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/sdolenc/testing-has/alpine) |
| sdolenc/testing-has:ubuntu | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/sdolenc/testing-has/ubuntu) |
| sdolenc/testing-has:debian | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/sdolenc/testing-has/debian) |
| sdolenc/testing-has:ubuntu16 | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/sdolenc/testing-has/ubuntu16) |

View File

@ -0,0 +1,54 @@
FROM bash:5.0.16
# already contains
# awk
# bash=5.0.16
# bzip2
# grep
# gzip=1.31.1
# sed=4.0
# tar=1.31.1
# unzip=6.00
# wget
# xz
RUN apk add --no-cache \
ack=3.2.0-r0 \
apache2-utils `# ab=2.3` \
curl=7.67.0-r0 \
bzr=2.7.0-r1 \
docker=19.03.5-r0 \
emacs=26.3-r2 \
file=5.37-r1 \
gcc=9.2.0-r4 \
git=2.24.1-r0 \
go=1.13.4-r1 \
gradle=5.6.4-r0 \
httpie=1.0.3-r1 `# http=1.0.3` \
hugo=0.61.0-r0 \
jq=1.6-r0 \
make=4.2.1-r2 \
mercurial=5.3.2-r0 `# hg=5.3.2` \
nano=4.6-r0 \
ncurses=6.1_p20200118-r3 `#tput:todo` \
npm `# npm=6.13.4 ` \
perl=5.30.1-r0 ` # perl=30` \
php `# php=7.3.16 ` \
postgresql=12.2-r0 `# psql=12.2` \
pv=1.6.6-r1 \
python=2.7.16-r3 \
python3=3.8.2-r0 \
R=3.6.2-r0 \
ruby=2.6.6-r2 \
ruby-bundler=2.0.2-r1 `# bundle=2.0.2` \
subversion=1.12.2-r1 `# svn=1.12.2` \
sudo=1.8.31-r0 \
tree=1.8.0-r0 \
vim=8.2.0-r0 `# vim=8.2` \
yarn=1.19.2-r0 \
zip=3.0-r7 \
zsh=5.7.1-r0; \
\
# bats=1.2.0
commit="87b16eb"; \
curl -L "https://github.com/bats-core/bats-core/tarball/${commit}" | tar xz; \
"bats-core-bats-core-${commit}/install.sh" /usr/local

View File

@ -0,0 +1,33 @@
FROM debian:buster-20200327-slim
# already contains
# apt
# apt-get
# bash
# grep
# gzip
# tar
RUN apt-get update && DEBIAN_FRONTEND="noninteractive" apt-get install --no-install-recommends -y -qq \
bc \
pv \
xz-utils \
unar \
make \
curl \
git \
unzip \
xz-utils `#xz` \
unar \
pv \
zip \
sudo \
file \
&& apt-get -y autoremove && apt-get -y clean && rm -rf /var/lib/apt/lists/*; \
\
#bats
commit="87b16eb"; \
curl -L "https://github.com/bats-core/bats-core/tarball/${commit}" | tar xz; \
"bats-core-bats-core-${commit}/install.sh" /usr/local; \
\
#hub
curl -fsSL https://github.com/github/hub/raw/master/script/get | bash -s 2.14.2

View File

@ -0,0 +1,77 @@
FROM ubuntu:bionic-20200311
# already contains
# apt=1.6.12
# apt-get=1.6.12
# awk
# bash=4.4.20
# bzip2=1.0.6
# grep=3.1
# gzip=1.6
# perl=26
# sed=4.4
# tar=1.29
# tput
RUN apt-get update && DEBIAN_FRONTEND="noninteractive" apt-get install --no-install-recommends -y -qq \
ack=2.22* \
ant=1.10.5* \
apache2-utils `# ab=2.3` \
apt-utils=1.6.12 `# todo` \
aptitude=0.8.10* \
autojump=22.5.0* \
awscli `# aws=1.14.44` \
bzr=2.7.0+bzr6622-10 `# bzr=2.8.0` \
curl=7.58.0* \
docker.io `# docker=19.03.6` \
emacs=47.0 `# emacs=25.2.2` \
file=1:5.32* \
gcc=4:7.4.0-1ubuntu2.3 `# gcc=7.5.0` \
git=1:2.17.1* \
gradle=4.4.1* \
groovy=2.4.16* \
grunt=1.0.1-8 `# grunt=1.2.0` \
gulp=3.9.1* \
httpie `# http=0.9.8` \
hugo=0.40.1* \
jq=1.5* \
leiningen `# lein=2.8.1` \
linuxbrew-wrapper `# brew` \
make=4.1* \
mercurial `# hg=4.5.3` \
nano=2.9.3* \
nodejs=8.10.0* `# node=8.10.0` \
npm=3.5.2* \
openjdk-11-jdk-headless `# java=11.0.6 # javac=11.0.6` \
perl6=6.c-1 `# perl6=2018.03` \
php=1:7.2+60ubuntu1 `# php=7.2.24` \
postgresql-client `# psql=10.12` \
pv=1.6.6* \
python=2.7.15~rc1-1 `# python=2.7.17` \
python3=3.6.7-1~18.04 `# python3=3.6.9` \
r-cran-littler `# R=3.4.4` \
rake=12.3.1* \
ruby=1:2.5.1 \
ruby-bundler `# bundle=1.16.1` \
rubygems `# gem=2.7.6` \
scala=2.11.12* \
silversearcher-ag `# ag=2.1.0` \
subversion `# svn=1.9.7` \
sudo=1.8.21* \
tree=1.7.0* \
unar=1.10.1* \
unzip=6.0-21ubuntu1 `# unzip=6.00` \
vim=2:8.0* \
wget=1.19.4* \
xz-utils `# xz=5.2.2` \
yarn `# yarn=0.32` \
zip=3.0* \
zsh=5.4.2* \
&& apt-get -y autoremove && apt-get -y clean && rm -rf /var/lib/apt/lists/*; \
\
# bats=1.2.0
commit="87b16eb"; \
curl -L "https://github.com/bats-core/bats-core/tarball/${commit}" | tar xz; \
"bats-core-bats-core-${commit}/install.sh" /usr/local; \
\
# hub=2.14.2
curl -fsSL https://github.com/github/hub/raw/master/script/get | bash -s 2.14.2

View File

@ -0,0 +1,33 @@
FROM ubuntu:xenial-20200212
# already contains
# apt
# apt-get
# bash
# grep
# gzip
# tar
RUN apt-get update && DEBIAN_FRONTEND="noninteractive" apt-get install --no-install-recommends -y -qq \
bc \
pv \
xz-utils \
unar \
make \
curl \
git \
unzip \
xz-utils `#xz` \
unar \
pv \
zip \
sudo \
file \
&& apt-get -y autoremove && apt-get -y clean && rm -rf /var/lib/apt/lists/*; \
\
#bats
commit="87b16eb"; \
curl -L "https://github.com/bats-core/bats-core/tarball/${commit}" | tar xz; \
"bats-core-bats-core-${commit}/install.sh" /usr/local; \
\
#hub
curl -fsSL https://github.com/github/hub/raw/master/script/get | bash -s 2.14.2