molecule-image/Dockerfile

43 lines
687 B
Docker

FROM debian:buster
LABEL maintainer="decentral1se"
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
build-essential \
curl \
git \
libffi-dev \
libssl-dev \
openssh-client \
pwgen \
python3-dev \
python3-pip \
python3-setuptools \
python3-wheel \
sudo \
wget \
&& rm -rf /var/lib/apt/lists/* \
&& rm -Rf /usr/share/doc && rm -Rf /usr/share/man \
&& apt-get clean
RUN \
curl -fsSL https://get.docker.com | bash
RUN \
python3 -m pip install -U \
pip \
setuptools
RUN \
python3 -m pip install \
"ansible-lint<6" \
"ansible<3" \
"molecule-docker<1" \
"molecule-hetznercloud<2" \
"molecule<4" \
"pytest-testinfra<7" \
"yamllint<2"