Add AWS build support

Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
This commit is contained in:
Nathan LeClaire
2016-07-14 15:59:47 -07:00
parent 0a01b10b1a
commit abb968c538
18 changed files with 694 additions and 262 deletions

View File

@@ -0,0 +1,18 @@
FROM alpine
RUN apk add --update \
python \
py-pip \
bash \
curl \
e2fsprogs \
jq \
syslinux
RUN pip install -U awscli
RUN mkdir -p /scripts
WORKDIR /scripts
COPY ./build-common.sh .
COPY ./aws/common.sh .
COPY ./aws/bake-ami.sh .
ENTRYPOINT ["./bake-ami.sh"]