Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (16 sloc) 575 Bytes
FROM amazonlinux:latest
VOLUME ["/export"]
RUN yum -y update
RUN yum install -y binutils gcc python27-devel python27-pip zip
RUN pip install virtualenv
RUN virtualenv /venv
COPY . /assemyaml
WORKDIR /assemyaml
ENV PATH=/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
RUN rm -f /
RUN cp assemyaml/ .
RUN zip -r / assemyaml
RUN pip install -r requirements.txt
WORKDIR /venv/lib/python2.7/site-packages
RUN zip -r / . --exclude botocore\* boto3\* setuptools/\* pip/\*
You can’t perform that action at this time.