-
Notifications
You must be signed in to change notification settings - Fork 2
/
Dockerfile
37 lines (24 loc) · 1.46 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
FROM gliderlabs/alpine:3.1
RUN apk-install curl bash
RUN curl -Lk https://circle-artifacts.com/gh/sequenceiq/packer/35/artifacts/0/tmp/circle-artifacts.d20CmZY/packer.tgz \
| tar -xzv -C /usr/local/bin
RUN curl -Lk https://github.com/sequenceiq/packer-azure/releases/download/v5/packer.tgz \
| tar -xzv -C /usr/local/bin
RUN curl -L https://github.com/sequenceiq/packer/releases/download/v0.8.7/packer-builder-amazon-ebs-Linux.tgz \
| tar -xzv -C /usr/local/bin/
## seoul region built from packer master TODO: merge with seq specific MOCKing
RUN curl -Lk https://s3-eu-west-1.amazonaws.com/sequenceiq/packer-builder-amazon-ebs.tgz \
| tar -xzv -C /usr/local/bin
RUN curl -L https://github.com/sequenceiq/packer/releases/download/v0.8.7/packer-builder-googlecompute-Linux.tgz \
| tar -xzv -C /usr/local/bin/
RUN curl -sL https://github.com/sequenceiq/packer/releases/download/v0.8.7/packer-builder-openstack-Linux.tgz \
| tar -xzv -C /usr/local/bin/
RUN curl -sL https://github.com/sequenceiq/packer/releases/download/v0.8.7/packer-post-processor-artifice-Linux.tgz \
| tar -xzv -C /usr/local/bin/
RUN curl -Ls https://github.com/sequenceiq/packer-postprocessor-generator/releases/download/v0.8.7/packer-post-processor-generator-Linux.tgz \
| tar -xzv -C /usr/local/bin/
RUN curl -Lso /usr/bin/docker https://get.docker.io/builds/Linux/x86_64/docker-1.8.3 \
&& chmod +x /usr/bin/docker
VOLUME /data
WORKDIR /data
ENTRYPOINT [ "/usr/local/bin/packer" ]