molecule-image/Dockerfile

43 lines
687 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 \
2021-03-31 08:13:47 +00:00
git \
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-03-31 08:00:45 +00:00
"ansible-lint<6" \
"ansible<3" \
"molecule-docker<1" \
"molecule-hetznercloud<2" \
"molecule<4" \
"pytest-testinfra<7" \
"yamllint<2"