molecule-image/Dockerfile

42 lines
701 B
Docker
Raw Normal View History

FROM debian:buster
2021-01-06 23:00:38 +00:00
LABEL maintainer="decentral1se"
2021-01-06 23:00:38 +00:00
ENV DEBIAN_FRONTEND noninteractive
2021-01-06 23:00:38 +00:00
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
build-essential \
2021-02-11 19:36:47 +00:00
curl \
libffi-dev \
libssl-dev \
2021-02-11 16:44:49 +00:00
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
2021-01-06 23:00:38 +00:00
2021-02-11 19:36:47 +00:00
RUN \
curl -fsSL https://get.docker.com | bash
2021-01-06 23:00:38 +00:00
RUN \
python3 -m pip install -U \
pip \
setuptools
2021-01-06 23:00:38 +00:00
RUN \
2021-01-07 10:41:09 +00:00
python3 -m pip install \
2021-02-11 17:20:52 +00:00
"ansible-lint<5" \
2021-02-10 13:08:48 +00:00
ansible==2.10.7 \
molecule-docker==0.2.4 \
molecule-hetznercloud==1.0.0 \
molecule==3.2.3 \
2021-02-10 13:17:28 +00:00
pytest-testinfra==6.1.0 \
yamllint==1.26.0