diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..16b89df01e696ebf627b4c6e3c1d9bf0f2af2bb9 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,16 @@ +FROM python:3.6-slim + +ENV S3CMD_VER=2.3.0 +ENV ANSIBLE_VER=4.10.0 +ENV OSC_VER=5.8.0 + +ADD ./packer /usr/local/bin +RUN apt-get update && apt-get install --no-install-recommends -y \ + git \ + ssh \ + && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir --upgrade pip \ + && pip install --no-cache-dir \ + s3cmd==$S3CMD_VER \ + ansible==$ANSIBLE_VER \ + python-openstackclient==$OSC_VER