Files
linuxkit/alpine/cloud/Dockerfile.ami
Nathan LeClaire e9b7803867 Migrate cloud build off of bind mounts
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2016-09-14 15:38:05 -07:00

23 lines
445 B
Docker

FROM alpine
RUN apk add --update \
python \
py-pip \
curl \
e2fsprogs \
jq \
syslinux
RUN pip install -U awscli
RUN mkdir /build
RUN mkdir /scripts
WORKDIR /scripts
COPY ./kernel/x86_64/vmlinuz64 /build
COPY ./initrd.img /build
COPY ./cloud/aws/syslinux.cfg /build/syslinux.cfg
COPY ./cloud/build-common.sh .
COPY ./cloud/aws/common.sh .
COPY ./cloud/aws/aws.sh .
COPY ./cloud/aws/bake-ami.sh .
ENTRYPOINT ["./aws.sh"]