This repository has been archived on 2024-08-19. You can view files and clone it, but cannot push or open issues or pull requests.
molecule/Dockerfile
Robert Kaussow d60bb68345
Some checks failed
continuous-integration/drone/push Build is failing
refactoring and drop driverbased molecule builds
2019-11-22 21:52:56 +01:00

28 lines
831 B
Docker

FROM python:3.7-alpine
LABEL maintainer="Robert Kaussow <mail@geeklabor.de>" \
org.label-schema.name="molecule" \
org.label-schema.vcs-url="https://gitea.rknet.org/docker/molecule" \
org.label-schema.vendor="Robert Kaussow" \
org.label-schema.schema-version="1.0"
ENV PY_COLORS=1
COPY overlay/ /
RUN \
apk add --update --no-cache --virtual .build-deps gcc make libffi-dev musl-dev \
openssl-dev python-dev && \
apk add --update --no-cache git openssh-client && \
pip install --upgrade --no-cache-dir pip setuptools && \
pip install --no-cache-dir ansible~=2.9.0 pycrypto boto boto3 botocore hcloud \
apache-libcloud molecule && \
apk del .build-deps && \
rm -rf /var/cache/apk/* && \
rm -rf /tmp/* && \
rm -rf /root/.cache/
USER root
CMD []
ENTRYPOINT ["/bin/molecule"]