Skip to content

Commit e70eca8

Browse files
author
Vic Iglesias
committed
Remove Docker build from Packer JSON
1 parent 27f92af commit e70eca8

File tree

2 files changed

+1
-17
lines changed

2 files changed

+1
-17
lines changed

Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ FROM google/cloud-sdk
1919
MAINTAINER Evan Brown <[email protected]>
2020

2121
RUN apt-get install -y curl
22-
RUN gcloud components update beta --quiet
2322
COPY . /tmp/scalable-resilient-web-app-solution
2423
RUN cp /tmp/scalable-resilient-web-app-solution/test/e2e.sh /tmp/scalable-resilient-web-app-solution/e2e.sh
2524
WORKDIR /tmp/scalable-resilient-web-app-solution

packer.json

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,6 @@
1313
"source_image": "ubuntu-1404-trusty-v20151113",
1414
"zone": "us-central1-a",
1515
"image_name": "redmine-{{timestamp}}-{{user `git_branch`}}-{{user `git_commit`}}"
16-
},
17-
{
18-
"type": "docker",
19-
"image": "ubuntu:14.04",
20-
"commit": "true"
2116
}
2217
],
2318
"provisioners": [
@@ -32,15 +27,5 @@
3227
"recipe[rails-sample::app]"
3328
]
3429
}
35-
],
36-
"post-processors": [
37-
[
38-
{
39-
"type": "docker-tag",
40-
"repository": "gcr.io/{{user `project_id`}}/redmine",
41-
"tag": "{{user `git_branch`}}-{{user `git_commit`}}",
42-
"only": ["docker"]
43-
}
44-
]
45-
]
30+
]
4631
}

0 commit comments

Comments
 (0)