FROM python:3.7-alpine LABEL maintainer="Robert Kaussow " \ 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 PACKAGES="\ gcc \ make \ bash \ libffi-dev \ musl-dev \ openssl-dev \ python-dev \ git \ openssh-client \ " ENV PIP_PACKAGES="\ molecule[gce] \ virtualenv \ apache-libcloud \ pycrypto \ " COPY ./gce-entrypoint.sh /docker-entrypoint.sh RUN \ apk update \ && apk add --update --no-cache ${PACKAGES} \ && rm -rf /var/cache/apk/* \ && pip install --upgrade pip \ && pip install --no-cache-dir ${PIP_PACKAGES} \ && rm -rf /root/.cache \ && mkdir /root/.ssh \ && chmod 700 /root/.ssh USER root ENTRYPOINT ["/docker-entrypoint.sh"]