Chris Bednarski
750a9c61de
Added discard option for docker builder, also reorganized some error messages
2015-08-18 14:38:32 -07:00
Chris Bednarski
32978a5109
Add an explicit error message when there is no output file specified
2015-08-18 13:48:18 -07:00
Chris Bednarski
5ad4b0e97e
Added tests and handle the tar format from docker cp -
2015-08-12 12:16:26 -07:00
Chris Bednarski
8cdd078952
Changed fixtures so we can do a directory test too
2015-08-12 11:48:47 -07:00
Chris Bednarski
62c5e8358d
Added a test for docker upload and download
2015-08-12 11:36:56 -07:00
Chris Bednarski
de9ecd2d62
Add a test fixture file
2015-08-12 11:36:33 -07:00
Chris Bednarski
3523ffdce1
Farewell extra line. You were pretty but out of place.
2015-08-12 11:36:10 -07:00
Chris Bednarski
047382eec9
Style tweak
2015-08-11 22:30:19 -07:00
Chris Bednarski
dc3c55cf8e
Implemented downloader for the docker communicator so we can pull files out of a container
2015-08-11 22:22:52 -07:00
Chris Bednarski
715662f60b
Reformat
2015-07-27 16:42:06 -07:00
Chris Bednarski
f3f3d1fe73
Formatting
2015-07-16 19:34:36 -07:00
georgevicbell
bf0c326cd5
Update step_connect_docker.go
2015-07-16 22:07:39 -04:00
georgevicbell
b2811a8252
Update communicator.go
2015-07-16 21:51:13 -04:00
georgevicbell
d00271aab3
Fix Capitilzation
2015-07-16 21:50:24 -04:00
georgevicbell
4da4150abe
Update communicator.go
2015-07-16 21:37:08 -04:00
georgevicbell
3a681d0c0c
Add Pty Bool
2015-07-16 21:22:11 -04:00
georgevicbell
fb39fa2cc6
Update step_connect_docker.go
2015-07-16 21:13:04 -04:00
georgevicbell
e3ab74e09f
Add Config struct for docker PTY
2015-07-16 21:06:03 -04:00
Mitchell Hashimoto
84189f7a28
builder/*: properly save interpolation context
2015-06-22 09:22:42 -07:00
Mitchell Hashimoto
cab2665119
builder/docker: support custom communicators
2015-06-14 22:09:38 -07:00
Mark Peek
16320372d6
Make some builder config usage more consistent with other builders
2015-06-12 14:02:09 -07:00
Mitchell Hashimoto
819986d19f
builder/docker: validate export path is not a dir [GH-2105]
2015-05-29 16:24:29 -07:00
Mitchell Hashimoto
350aa4e522
Merge pull request #2055 from FGtatsuro/docker_tag_force
...
Support force option for docker-tag.
2015-05-29 16:05:00 -07:00
Mitchell Hashimoto
31ac2652d6
bulder/docker: canExec as sep function
2015-05-29 11:08:41 -07:00
Mitchell Hashimoto
ce275969e4
builder/docker: don't attempt to read artifact if cancelled
2015-05-29 09:37:27 -07:00
Mitchell Hashimoto
6570b53c4a
builder/docker: use exec for v1.4+
2015-05-29 09:29:59 -07:00
Mitchell Hashimoto
966d70148e
Merge branch 'donaldguy-docker-exec-by-version' into f-docker
2015-05-29 09:20:57 -07:00
Mitchell Hashimoto
9587a926a2
Merge branch 'docker-exec-by-version' of https://github.com/donaldguy/packer into donaldguy-docker-exec-by-version
2015-05-29 09:20:48 -07:00
Mitchell Hashimoto
9c7b4b63c5
builder/docker: fix config parsing
2015-05-29 09:19:20 -07:00
Mitchell Hashimoto
4cae87645f
builder/docker: fix issue where docker might get nil interp context
2015-05-27 13:03:47 -07:00
Mitchell Hashimoto
faf327eed0
builder/docker: convert to new interpolation
2015-05-27 12:55:36 -07:00
FGtatsuro
09f379a928
Support force option for docker-tag.
2015-04-18 13:12:28 +09:00
Donald Guy
a7206aebd7
builder/docker: attempt to satisfy travis for #1993
2015-03-20 12:50:03 -04:00
Donald Guy
df7623d9d8
builder/docker: Run scripts /w `exec` if -v > 1.4
2015-03-20 12:07:43 -04:00
Godefroid Chapelle
f52283d78e
all calls to cp should be escaped
2014-12-22 12:58:41 +01:00
Godefroid Chapelle
955122f2e1
Be more explicit about escaping alias
2014-12-02 15:07:29 +01:00
Godefroid Chapelle
075abfeeae
Escapes cp alias
...
Fix for #1656
2014-12-02 14:58:13 +01:00
Israel Shirk
d4080244b0
Resolves issue where docker communicator mishandled symlinks by treating them as files
2014-11-12 14:22:48 -07:00
Mitchell Hashimoto
0db6cd3533
Merge pull request #1330 from qur/qemu-vagrant
...
Qemu vagrant
2014-10-28 08:42:17 -07:00
Mitchell Hashimoto
607f7214b5
builder/docker: allow DOCKER_HOST
2014-10-27 16:49:39 -07:00
Julian Phillips
90a57c411f
Expand Artifact API to expose build state
...
In order that something consuming an artifact can have access to extra
builder specific data add the State method which allows the caller to
ask for arbitary values by name.
2014-09-22 11:15:47 +01:00
Mitchell Hashimoto
75395af12d
Merge branch '1064-fix-upload-file-permissions' of github.com:rasa/packer into rasa-1064-fix-upload-file-permissions
...
Conflicts:
builder/parallels/common/step_upload_parallels_tools.go
builder/vmware/common/step_upload_tools.go
provisioner/chef-client/provisioner.go
provisioner/chef-solo/provisioner.go
2014-09-08 13:20:46 -07:00
Mitchell Hashimoto
812ba35479
fmt
2014-09-08 10:28:21 -07:00
Mitchell Hashimoto
e4dc5d31d8
builder/docker: support volumes
2014-09-05 15:48:42 -07:00
Mitchell Hashimoto
2e4882f0c3
builder/docker: can login to pull
2014-09-05 15:24:12 -07:00
Mitchell Hashimoto
622b9f459a
builder/docker: lock around Login
2014-09-05 15:06:07 -07:00
Mitchell Hashimoto
d32b4b4f84
builder/docker: driver supports login/logout
2014-09-05 14:26:19 -07:00
Mitchell Hashimoto
f32d9879dc
builder/docker: error if DOCKER_HOST is set
2014-09-05 11:13:54 -07:00
Mitchell Hashimoto
5cb7355814
builder/docker: change commit to the opt-in, special case build steps
...
/cc @andytson - Wanted to CC you in here so you could see some changes I
made.
First, I changed commit to opt-in, so you set "commit": true to get
commit behavior. This simplifies the logic a bit. Then, I removed the
skipping for StepExport and StepCommit and put that into the Builder
itself. This simplifies those steps (limits abstraction leakage).
Otherwise, everything looks great!
2014-09-04 18:03:15 -07:00
Mitchell Hashimoto
cb2c405d88
Merge branch 'feature/docker-image' of github.com:andytson/packer into andytson-feature/docker-image
...
Conflicts:
config.go
2014-09-04 17:56:47 -07:00