CinC (opensource chef) image with kitchen-docker, rubocop, overcommit gems and docker-cli packages.
2.3K
This image based on opensource CINC Workstation provides the complete test suite for running regression tests on CHEF cookbooks. One may use it in GitLab CI-Pipeline.
Following tools additionally to official image are included:
kitchen-dockerrubocopovercommitshellcheckdocker-clivirtualboxvagrantFROM cincproject/workstation:24.6.1066
LABEL maintainer="Ivan Golman <[email protected]>, dkd Internet Service GmbH."
RUN chef gem install kitchen-docker rubocop overcommit
RUN apt-get update && \
apt-get install -y \
apt-transport-https \
ca-certificates \
curl \
gnupg-agent \
software-properties-common \
xz-utils
ARG scversion="stable"
RUN wget -qO- "https://github.com/koalaman/shellcheck/releases/download/${scversion?}/shellcheck-${scversion?}.linux.x86_64.tar.xz" | \
tar -xJv && cp "shellcheck-${scversion}/shellcheck" /usr/bin/
RUN curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add -
RUN add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable"
RUN wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | apt-key add -
RUN wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | apt-key add -
RUN apt-add-repository "deb [arch=amd64] https://download.virtualbox.org/virtualbox/debian $(lsb_release -cs) contrib"
RUN curl -fsSL https://apt.releases.hashicorp.com/gpg | apt-key add -
RUN apt-add-repository "deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main"
RUN apt-get update && \
apt-get install -y \
linux-headers-generic \
linux-headers-5.4.0-90-generic \
docker-ce-cli \
virtualbox-6.1 \
vagrant \
&& \
apt-get clean && \
apt-get autoclean && \
apt-get autoremove -y && \
rm -rf /var/lib/apt/lists/* \
/tmp/* \
/var/tmp/* \
/var/log/*log \
/var/log/apt/* \
/var/lib/dpkg/*-old \
/var/cache/debconf/*-old
RUN vagrant plugin install vagrant-cachier
git checkout -b feature/my-new-feature (We follow [this branching model] (http://nvie.com/posts/a-successful-git-branching-model/))git commit -am 'Add some feature'Content type
Image
Digest
sha256:e607ef2bf…
Size
888.4 MB
Last updated
6 months ago
docker pull dkdde/cinc-workstation:25.13.7