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/docker/Dockerfile.gce

35 lines
630 B
Docker
Raw Normal View History

2019-02-28 09:34:14 +00:00
FROM python:3.7-alpine
LABEL maintainer "Robert Kaussow <mail@geeklabor.de>"
ENV PACKAGES="\
gcc \
make \
bash \
libffi-dev \
musl-dev \
openssl-dev \
python-dev \
git \
openssh-client \
"
ENV PIP_PACKAGES="\
2019-02-28 09:51:09 +00:00
molecule[gce] \
2019-02-28 09:34:14 +00:00
virtualenv \
apache-libcloud \
2019-02-28 09:51:09 +00:00
pycrypto \
2019-02-28 09:34:14 +00:00
"
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 \
2019-02-28 10:12:00 +00:00
&& chmod 700 /root/.ssh
2019-02-28 09:34:14 +00:00
USER root
ENV SHELL /bin/bash