Victor Vieux
12180948be
remove unused parameter in Download
2013-12-04 11:54:11 -08:00
Guillaume J. Charmes
de4429f70d
Do not format at each write but use a Writer instead (build)
2013-12-02 11:43:41 -08:00
Michael Crosby
fe571dd293
Merge pull request #2829 from dotcloud/refactor_opts
...
Refactor opts
2013-12-02 10:41:30 -08:00
Johannes 'fish' Ziemke
b04c6466cd
Make docker build return exit code of build step
...
If a command during build fails, `docker build` now returns with
the exit code of that command.
This makes it necessary to change the build api endpoint to
return a json object stream.
2013-12-02 17:52:37 +01:00
Victor Vieux
926f7b579e
Merge pull request #2692 from SvenDowideit/add-specific-feedback-for-bad-ADD
...
Add specific feedback for ADD outside context
2013-11-28 17:55:11 -08:00
Guillaume J. Charmes
1ba11384bf
Refactor Opts
2013-11-26 17:46:06 +00:00
Solomon Hykes
43c7df946d
Merge branch 'master' into 0.6.5-dm-plugin
2013-11-26 02:00:25 +00:00
Sven Dowideit
96b5be9dd9
add more searchable info to the error message when ADD tries to go outside the context
2013-11-23 12:23:31 +10:00
Guillaume J. Charmes
c67f9b671d
Remove useless New*Opt functions, singleline Opt types
2013-11-22 14:42:30 -08:00
Michael Crosby
5d9723002b
Allow drivers to implement ApplyDiff in Differ interface
2013-11-11 19:09:57 -08:00
Michael Crosby
99141ea3ca
Use parent image config in buildfile
2013-11-04 13:20:14 -08:00
Jérôme Petazzoni
31638ab2ad
Refactor HostConfig and escape apparmor confinement
2013-11-01 13:55:19 -07:00
Michael Crosby
96d1e9bb5a
Move archive.go to sub package
2013-10-31 16:57:45 -07:00
Victor Vieux
b2503a72f1
continue build on expose with :, but displays a warning
2013-10-30 11:13:10 -07:00
Michael Crosby
0d2924408b
Add -name for docker run
...
Remove docker link
Do not add container id as default name
Create an auto generated container name if not
specified at runtime.
2013-10-28 18:09:08 -07:00
Michael Crosby
1cbdaebaa1
Add links for container relationships and introspection
2013-10-25 15:13:24 -07:00
Victor Vieux
10e10c9573
fix race condition in docker build with verbose + cleanup hostIntegration debug
2013-10-22 15:01:06 -07:00
Victor Vieux
3acfc60028
change an errorf to a debugf
2013-10-16 19:45:10 +00:00
Solomon Hykes
cbc49d7d76
Remove error messages which are not actually errors
2013-10-15 23:12:27 +00:00
Karl Grzeszczak
ad723bbfe7
Initial steps to fix Issue #936
...
Use utils.Errorf instead of utils.Debugf
2013-10-11 08:04:40 -05:00
Sven Dowideit
d03022b9ca
use empty string so TempDir uses the OS's temp dir automatically ( Closes #2117 )
2013-10-08 13:24:20 +10:00
Michael Crosby
33972627b7
Merge pull request #1848 from dotcloud/build-clean
...
Add rm option to docker build to remove intermediate containers
2013-09-13 10:58:59 -07:00
Michael Crosby
b7a3fc687e
Add rm option to docker build to remove intermediate containers
2013-09-12 16:55:36 +00:00
Michael Crosby
1e723bc95a
Replace multiline with empty string not space
2013-09-11 23:43:55 +00:00
Michael Crosby
bd0e4fde9a
Merge pull request #1838 from jmcvetta/multiline_dockerfile
...
Implementation of multiline syntax for Dockerfile
2013-09-10 14:22:34 -07:00
Jason McVetta
6a4afb7f8e
stricter regexp for Dockerfile line continuations
2013-09-09 18:23:57 -07:00
Jason McVetta
4f3b8033f2
cruft removal
2013-09-09 17:17:09 -07:00
Jason McVetta
ebb934c1b0
line continuation regex
2013-09-09 17:02:45 -07:00
Jason McVetta
6921ca4813
read Dockerfile into memory before parsing, to facilitate regexp preprocessing
2013-09-09 16:42:04 -07:00
Victor Vieux
58281b4f18
Merge pull request #1793 from reds/master
...
From FIXME: local path for ADD
2013-09-09 16:14:59 -07:00
Solomon Hykes
24e02043a2
Merge builder.go into runtime.go
2013-09-06 17:33:05 -07:00
Martin Redmond
8374dac021
From FIXME: local path for ADD
2013-09-05 20:05:36 -04:00
shin-
093b85b72f
Use additional decorator in RequestFactory to pass meta headers to registry
2013-08-22 21:15:31 +02:00
Victor Vieux
f69c465231
rebase docs
2013-08-20 11:42:53 +00:00
Marco Hennings
319988336c
Add workdir support for the Buildfile
...
For consistency the Buildfile should have the option to
set the working directory.
Of course that is one option more to the buildfile,
so please tell me if we really want this to happen.
2013-08-18 20:30:19 +02:00
Victor Vieux
5ee3c58d25
Add USER instruction
2013-08-13 12:02:17 +00:00
Pascal Borreli
9b2a5964fc
Fixed typos
2013-08-12 18:53:06 +01:00
Kevin Clark
4ff649a4ea
Only count known instructions as build steps
...
stepN is only used in the log line, so if we only produce the log line
when there's a message, it should do the right thing.
If it's *not* a valid instruction, it gets a line as well, so there's no
reason to double up.
2013-08-09 14:38:29 -07:00
Guillaume J. Charmes
6a6a2ad8a4
Make sure ENV instruction within build perform a commit each time
2013-08-07 17:23:49 -07:00
Michael Crosby
3104fc8d33
Forbid certain paths within docker build ADD
2013-08-07 16:05:30 +00:00
Victor Vieux
946bbee39a
rebase master
2013-08-05 16:25:42 +00:00
Isao Jonas
0f249c85ea
fix entrypoint without cmd
2013-08-05 09:07:03 -05:00
Michael Crosby
3a123bc479
Add no cache for docker build
...
Add a new flag to disable the image cache when building images.
2013-08-02 16:18:54 +00:00
Victor Vieux
46f59dd933
add parallel pull to 1.4
2013-07-30 12:15:33 +00:00
Guillaume J. Charmes
f35491190a
Merge pull request #1233 from fmd/1136-environment-variables
...
+ Builder: CmdAdd and CmdEnv now respect Dockerfile-set ENV variables
2013-07-29 13:43:13 -07:00
Guillaume J. Charmes
b15cfd3530
- Builder: Create directories with 755 instead of 700 within ADD instruction
2013-07-26 14:57:16 -07:00
Fareed Dudhia
d86898b014
Fixes 1136; Reopened from 1175 with latest changes.
2013-07-25 19:45:49 +00:00
Caleb Spare
2b0ebf5d32
Buildfile: for ADD command, determine filename from URL.
...
This is used if the destination is a directory. This makes the URL
download behavior more closely match file copying.
Fixes #1142 .
2013-07-21 23:32:06 -07:00
Michael Crosby
1104d443cc
Revert changes from PR 1030
...
With streaming output of the build
changes in 1030 are no longer required.
2013-07-11 15:52:08 -09:00
Michael Crosby
474191dd7b
Add verbose output to docker build
...
Verbose output is enabled by default and
the flag -q can be used to suppress the verbose output.
2013-07-11 15:27:33 -09:00