Adrien Delorme
2da36b7374
builder/docker: default container dir to "c:/packer-files" on windows
2019-05-22 16:55:26 +02:00
Megan Marsh
70150ffa0f
set powershell entrypoint for windows containers
2019-03-28 16:46:07 -07:00
Megan Marsh
3b87f2a519
stop container before committing if windows
2019-03-27 15:25:51 -07:00
Megan Marsh
8f3313d81e
Create new docker communicator for windows containers
2019-03-27 15:25:32 -07:00
Adrien Delorme
2718a5ed62
Revert "revert changes to docker entrypoint; since this is a backwards-breaking change it needs to wait for a minor release"
...
This reverts commit 2a79d64ae0 .
2018-12-13 10:23:46 +01:00
Megan Marsh
2a79d64ae0
revert changes to docker entrypoint; since this is a backwards-breaking change it needs to wait for a minor release
2018-12-12 15:30:24 -08:00
Ali Rizvi-Santiago
a6af04417e
Moved the entrypoint argument for the docker builder in front of the image so it's passed correctly as an argument.
2018-12-10 15:09:56 -06:00
Ali Rizvi-Santiago
2e977019e4
Modified the docker builder's default run_command to specify the shell via the entrypoint command line argument as suggested by @vrubiolo in #6920 .
2018-12-04 23:52:17 -06:00
Ali Rizvi-Santiago
310ea6c006
Updated docker's default config to use regular bourne shell instead of bourne again. Closes #6920 .
2018-12-04 18:28:48 -06:00
Matthew Hooker
1901c0385f
remove login_email from docker
...
adds fixer
removes documentation
removes from docker builder and docker-push pp
2017-10-25 10:53:06 -07:00
localghost
5866d4ea24
Move container user inspect to StepConnectDocker.
2017-10-10 22:45:47 +02:00
Matthew Hooker
b3661c1f63
builder/docker: set user during exec.
...
Add `exec_user` option to control what user `docker exec` is run as.
2017-09-28 16:39:23 -07:00
Sergei A Mamonov
07f7183b64
Add docker container dir to template
2017-08-14 09:26:05 -07:00
Matthew Hooker
81522dced0
move packer to hashicorp
2017-04-04 13:39:01 -07:00
Florian Rey
73c5eac4f0
Handle commit author & message the same way
2016-11-24 13:33:42 +01:00
Florian Rey
c925acf502
Introduce docker commit changes
2016-11-24 11:42:34 +01:00
Rickard von Essen
b2d9782a9e
Improved support for Amazon EC2 Container Registry - ECR
...
This adds support for authenticating towards ECR in the docker builder
and docker-push post-processor using them same mechanisms as in the
amazon builders. I.g. access key/secret key, credentials on file,
environment variables, sts tokens or IAM instance roles.
2016-09-04 14:33:47 +02:00
Hao
5139b853fa
privilege enabled docker container ( #3475 )
...
Issue #2724
2016-04-29 19:12:20 -07:00
Chris Bednarski
5503b7f496
Don't export errors
2015-08-19 13:12:16 -07:00
Chris Bednarski
746b9a8391
Formatting tweaks
2015-08-18 16:55:29 -07:00
Chris Bednarski
1b1bd19c20
Reformat code so we can grep for this more easily
2015-08-18 16:47:12 -07:00
Chris Bednarski
750a9c61de
Added discard option for docker builder, also reorganized some error messages
2015-08-18 14:38:32 -07:00
Chris Bednarski
f3f3d1fe73
Formatting
2015-07-16 19:34:36 -07:00
georgevicbell
3a681d0c0c
Add Pty Bool
2015-07-16 21:22:11 -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
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