diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 00000000..d9dc2968 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,30 @@ +FROM alpine:3.5 + +# Install Required Packages +RUN apk add --update \ + python-dev \ + py-pip \ + py-setuptools \ + ca-certificates \ + gcc \ + musl-dev \ + linux-headers \ + yaml-dev \ + libxslt-dev \ + libxml2-dev \ + zlib-dev + +RUN pip install --upgrade pip setuptools + +# Build euca2ools +ADD . /root + +RUN cd ~/ \ + && python setup.py install + +# Remove unneeded files +RUN apk del gcc musl-dev linux-headers \ + && rm -rf ~/* \ + && rm -rf /var/cache/apk/* + +CMD ['ash']