Commit Graph

189 Commits (dcc22df6094069795eb0fdee27b5807ab50d84d4)

Author SHA1 Message Date
localghost 5866d4ea24 Move container user inspect to StepConnectDocker.
9 years ago
Megan Marsh 8452ca898c implemented for docker communicator
9 years ago
localghost ba72021274 Fix owner of files uploaded to docker container run as non-root.
9 years ago
Matthew Hooker b3661c1f63
builder/docker: set user during exec.
9 years ago
Matthew Hooker 392af507e0
builder/docker: respect rsync semantics when uploading directories.
9 years ago
Matthew Hooker 4edbd5322c
docker: stream uploads over stdin
9 years ago
Michael Juliano c8db128dc5
Modified func Upload to use docker cp
9 years ago
Megan Marsh ef858857e4 fix bug introduced by 5221
9 years ago
Sergei A Mamonov 07f7183b64 Add docker container dir to template
9 years ago
Megan Marsh 199b9062b0 fix file copy script to prevent error when encountering empty directory
9 years ago
Megan Marsh a2f7a65e35 fix communicator tests
9 years ago
Megan Marsh a281e60e15 de-mangle windows filepath to something docker can handle
9 years ago
Matthew Hooker 6581e0b7d6
add hostkeycallback everywhere else
9 years ago
Matthew Hooker 81522dced0
move packer to hashicorp
9 years ago
Matthew Hooker 79287d7e47
simplify some code
9 years ago
Matthew Hooker 230079f73a
spell fixes
9 years ago
guessi 66615e3f56 reuse the func DockerDriver.Version()
9 years ago
guessi 5eae809b0c improve description
9 years ago
guessi c5e01da3c6 Conditional ignore `force` flag for `docker-tag`
9 years ago
Matthew Hooker c41e32dbc1
print stderr on docker import failure
9 years ago
Matthew Hooker a51f492558
communicator/docker: preserve file mode.
9 years ago
Matthew Hooker 9e2d69fb97
builder/docker: create export dir if needed
9 years ago
Rickard von Essen 112f5abdae
docker: Fix crash when performing log in to ECR with an invalid URL.
9 years ago
Florian Rey 73c5eac4f0 Handle commit author & message the same way
10 years ago
Florian Rey 06bebb63d0 Add log
10 years ago
Florian Rey c925acf502 Introduce docker commit changes
10 years ago
Matthew Hooker 48bdae93d1 aws-sdk: use session.NewSession
10 years ago
Rickard von Essen 13c9db5dd5 Merge pull request #3885 from orivej/on-error
10 years ago
Rickard von Essen 476d981211 Merge pull request #3800 from benwtr/issue-3142-match-dotfiles-docker-communicator
10 years ago
Orivej Desh 6762965696 Add -on-error command line argument to allow preserving artifacts on builder errors
10 years ago
Rickard von Essen 10cba9795f Merge pull request #3476 from bhcleek/ansible-with-docker
10 years ago
Rickard von Essen b2d9782a9e
Improved support for Amazon EC2 Container Registry - ECR
10 years ago
Ben P 8ecbbe9037 backticks instead of $() for csh compatibility
10 years ago
Ben P 0d7937fce1 [docker] ls -A instead of * glob for copying paths
10 years ago
Hao 5139b853fa privilege enabled docker container (#3475)
10 years ago
Billie H. Cleek 165ec694ab fix docker builder with ansible provisioner
10 years ago
Vasiliy Tolstov feee19e4ed file provisioner improvements
10 years ago
Mark Peek bc0f438db0 Use alternate temp directories for docker
11 years ago
Seth Vargo e863dbe100 Revert "Merge pull request #2807 from markpeek/markpeek-docker-tmpdir"
11 years ago
Chris Bednarski 5eddaa77bf Corrected sprintf formatting in error messages
11 years ago
Chris Bednarski cc153aa71f Added a test to verify byte size for larger files downloaded from docker
11 years ago
Chris Bednarski 8ff5c07d0c Add a new packer template for testing large file downloads
11 years ago
Mark Peek 77bfd1de2e Workaround docker-machine shared folder mapping issue
11 years ago
Chris Bednarski 1830c81eab Correct and expand docker config tests for commit, discard, export_path
11 years ago
Chris Bednarski 5503b7f496 Don't export errors
11 years ago
Chris Bednarski 746b9a8391 Formatting tweaks
11 years ago
Chris Bednarski 1b1bd19c20 Reformat code so we can grep for this more easily
11 years ago
Chris Bednarski 750a9c61de Added discard option for docker builder, also reorganized some error messages
11 years ago
Chris Bednarski 32978a5109 Add an explicit error message when there is no output file specified
11 years ago
Chris Bednarski 5ad4b0e97e Added tests and handle the tar format from docker cp -
11 years ago
Chris Bednarski 8cdd078952 Changed fixtures so we can do a directory test too
11 years ago
Chris Bednarski 62c5e8358d Added a test for docker upload and download
11 years ago
Chris Bednarski de9ecd2d62 Add a test fixture file
11 years ago
Chris Bednarski 3523ffdce1 Farewell extra line. You were pretty but out of place.
11 years ago
Chris Bednarski 047382eec9 Style tweak
11 years ago
Chris Bednarski dc3c55cf8e Implemented downloader for the docker communicator so we can pull files out of a container
11 years ago
Chris Bednarski 715662f60b Reformat
11 years ago
Chris Bednarski f3f3d1fe73 Formatting
11 years ago
georgevicbell bf0c326cd5 Update step_connect_docker.go
11 years ago
georgevicbell b2811a8252 Update communicator.go
11 years ago
georgevicbell d00271aab3 Fix Capitilzation
11 years ago
georgevicbell 4da4150abe Update communicator.go
11 years ago
georgevicbell 3a681d0c0c Add Pty Bool
11 years ago
georgevicbell fb39fa2cc6 Update step_connect_docker.go
11 years ago
georgevicbell e3ab74e09f Add Config struct for docker PTY
11 years ago
Mitchell Hashimoto 84189f7a28 builder/*: properly save interpolation context
11 years ago
Mitchell Hashimoto cab2665119 builder/docker: support custom communicators
11 years ago
Mark Peek 16320372d6 Make some builder config usage more consistent with other builders
11 years ago
Mitchell Hashimoto 819986d19f builder/docker: validate export path is not a dir [GH-2105]
11 years ago
Mitchell Hashimoto 350aa4e522 Merge pull request #2055 from FGtatsuro/docker_tag_force
11 years ago
Mitchell Hashimoto 31ac2652d6 bulder/docker: canExec as sep function
11 years ago
Mitchell Hashimoto ce275969e4 builder/docker: don't attempt to read artifact if cancelled
11 years ago
Mitchell Hashimoto 6570b53c4a builder/docker: use exec for v1.4+
11 years ago
Mitchell Hashimoto 966d70148e Merge branch 'donaldguy-docker-exec-by-version' into f-docker
11 years ago
Mitchell Hashimoto 9587a926a2 Merge branch 'docker-exec-by-version' of https://github.com/donaldguy/packer into donaldguy-docker-exec-by-version
11 years ago
Mitchell Hashimoto 9c7b4b63c5 builder/docker: fix config parsing
11 years ago
Mitchell Hashimoto 4cae87645f builder/docker: fix issue where docker might get nil interp context
11 years ago
Mitchell Hashimoto faf327eed0 builder/docker: convert to new interpolation
11 years ago
FGtatsuro 09f379a928 Support force option for docker-tag.
11 years ago
Donald Guy a7206aebd7 builder/docker: attempt to satisfy travis for #1993
11 years ago
Donald Guy df7623d9d8 builder/docker: Run scripts /w `exec` if -v > 1.4
11 years ago
Godefroid Chapelle f52283d78e all calls to cp should be escaped
11 years ago
Godefroid Chapelle 955122f2e1 Be more explicit about escaping alias
12 years ago
Godefroid Chapelle 075abfeeae Escapes cp alias
12 years ago
Israel Shirk d4080244b0 Resolves issue where docker communicator mishandled symlinks by treating them as files
12 years ago
Mitchell Hashimoto 0db6cd3533 Merge pull request #1330 from qur/qemu-vagrant
12 years ago
Mitchell Hashimoto 607f7214b5 builder/docker: allow DOCKER_HOST
12 years ago
Julian Phillips 90a57c411f Expand Artifact API to expose build state
12 years ago
Mitchell Hashimoto 75395af12d Merge branch '1064-fix-upload-file-permissions' of github.com:rasa/packer into rasa-1064-fix-upload-file-permissions
12 years ago
Mitchell Hashimoto 812ba35479 fmt
12 years ago
Mitchell Hashimoto e4dc5d31d8 builder/docker: support volumes
12 years ago
Mitchell Hashimoto 2e4882f0c3 builder/docker: can login to pull
12 years ago
Mitchell Hashimoto 622b9f459a builder/docker: lock around Login
12 years ago
Mitchell Hashimoto d32b4b4f84 builder/docker: driver supports login/logout
12 years ago
Mitchell Hashimoto f32d9879dc builder/docker: error if DOCKER_HOST is set
12 years ago
Mitchell Hashimoto 5cb7355814 builder/docker: change commit to the opt-in, special case build steps
12 years ago
Mitchell Hashimoto cb2c405d88 Merge branch 'feature/docker-image' of github.com:andytson/packer into andytson-feature/docker-image
12 years ago
Mitchell Hashimoto b267c3eb4a builder/docker: wait for tail to end when running remote command
12 years ago
Mitchell Hashimoto c139aa3b71 builder/docker: style
12 years ago
Mitchell Hashimoto 74a4f27a16 buidler/docker: remove container [GH-1206] [GH-1095]
12 years ago