Skip to content
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.

add Dockerfile #86

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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']