efc88e6663
Add rm option to docker build to remove intermediate containers
...
Upstream-commit: b7a3fc687ec55b68ee0cadf78d7f1eff3e531fbd
Component: engine
2013-09-12 16:55:36 +00:00
97c0d31d6a
Merge pull request #1838 from jmcvetta/multiline_dockerfile
...
Implementation of multiline syntax for Dockerfile
Upstream-commit: bd0e4fde9a2a1fb1f676e7ea19e111be46cb87c8
Component: engine
2013-09-10 14:22:34 -07:00
9a3ed98cdb
Test dockerfile with line containing literal "\n"
...
Upstream-commit: c01f6df43e1280c398d921c2d5eff01db8c26f94
Component: engine
2013-09-09 18:23:17 -07:00
dda5c87060
failing test case for multiline command in dockerfile
...
Upstream-commit: 672f1e068392e95966cd57b4bc49bd8d1b8859dd
Component: engine
2013-09-09 15:21:04 -07:00
73b7802f1f
From FIXME: local path for ADD
...
Upstream-commit: 8374dac02141c1409b93bb3838f6dabbba4d5b14
Component: engine
2013-09-05 20:05:36 -04:00
9540169e17
Add USER instruction
...
Upstream-commit: 5ee3c58d2549c25fa4464963831a28a99407b6cd
Component: engine
2013-08-13 12:02:17 +00:00
fa6b9b59de
Forbid certain paths within docker build ADD
...
Upstream-commit: 3104fc8d33ce4c26a446826639a7b2dba524264f
Component: engine
2013-08-07 16:05:30 +00:00
d445832a9e
added tests for 1405
...
Upstream-commit: d00fb4096700cd8feed06ca32c93f080fb6446b1
Component: engine
2013-08-05 09:30:27 -05:00
b7d9cc36c6
Add unit tests for build no cache
...
Upstream-commit: b9f06959244e3f77eb212c7c234b06eb7b750999
Component: engine
2013-08-02 19:12:38 +00:00
ac12d9b409
Add no cache for docker build
...
Add a new flag to disable the image cache when building images.
Upstream-commit: 3a123bc479457c4dfa14e39b7c42d9a9dccf8c32
Component: engine
2013-08-02 16:18:54 +00:00
7c51899dd5
Fixes 1136; Reopened from 1175 with latest changes.
...
Upstream-commit: d86898b0142f2f9a834aa0c727b10d62ef647262
Component: engine
2013-07-25 19:45:49 +00:00
adbaef1554
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 .
Upstream-commit: 2b0ebf5d32c65276ce50fce168f32483ffb9c311
Component: engine
2013-07-21 23:32:06 -07:00
02d9506654
Test pulling remote files using ADD in a buildfile.
...
Upstream-commit: f236e62d9d288ac695129157d1753512f5cd2b0a
Component: engine
2013-07-21 23:32:01 -07:00
1df4154799
Add unit tests for buildfile config instructions
...
Add tests for instructions in the buildfile that
modify the config of the resulting image.
Upstream-commit: e7f3f6fa5a10f890a1774a2320d31e236af56be9
Component: engine
2013-07-18 05:37:28 -09:00
2b2f5cce76
Merge pull request #1194 from crosbymichael/build-verbose
...
* Builder: Add verbose output to docker build
Upstream-commit: de563a3ea372432acb39e711eeb0b43296754c39
Component: engine
2013-07-17 12:53:06 -07:00
3cd7f4b75d
Merge pull request #1195 from dotcloud/tests-cleanup
...
* Hack: tests cleanup
Upstream-commit: 2cbf2200ac7ba7e3ae79ed8a85a3cfcdf1026efd
Component: engine
2013-07-12 14:51:59 -07:00
6c9e32ae32
Simplify unit tests code with mkRuntime()
...
Upstream-commit: 6bdb6f226b13d5fdd47f3665c9fb753207bf473b
Component: engine
2013-07-11 17:59:25 -07:00
7bf5a45cfe
Fix buildfile tests after rebase
...
Upstream-commit: 49044a96089487b9df075fa972e83e4c05c7fae8
Component: engine
2013-07-11 15:37:26 -09:00
015f243412
Add verbose output to docker build
...
Verbose output is enabled by default and
the flag -q can be used to suppress the verbose output.
Upstream-commit: 474191dd7bca9eedaccb9de1771eecfce7dfebbb
Component: engine
2013-07-11 15:27:33 -09:00
72cf50da58
Rebased changes buildfile_test
...
Upstream-commit: 40f1e4edbecc841bd02b3a63b303d522299562c0
Component: engine
2013-07-10 07:12:57 -09:00
8121ba998d
Add unittest for volume config verification
...
Upstream-commit: 1267e15b0f73f4c40b3a053f0bf02981881a2bdd
Component: engine
2013-07-10 06:59:16 -09:00
7935041f18
Add VOLUME instruction to buildfile
...
Upstream-commit: eb9fef2c424178277cacd29d404cc8e774bb3891
Component: engine
2013-07-10 06:59:16 -09:00
32424f76bf
Remove all network dependencies from the test suite
...
Upstream-commit: e43ef364cb99585d3285f51f7ab308f8a77fe09e
Component: engine
2013-07-08 15:23:04 -07:00
1c71d0a65e
Implement several golint suggestions, including:
...
* Removing type declarations where they're inferred
* Changing Url -> URL, Id -> ID in names
* Fixing snake-case names
Upstream-commit: 19121c16d9514b391ce8f15aeff3c47c1ea5a841
Component: engine
2013-07-03 14:36:04 -07:00
8f5746f4d9
Mutex style change.
...
For structs protected by a single mutex, embed the mutex for more
concise usage.
Also use a sync.Mutex directly, rather than a pointer, to avoid the
need for initialization (because a Mutex's zero-value is valid and
ready to be used).
Upstream-commit: 1cf9c80e976fb60b4d5d489cd1c4c9959bcc4f7f
Component: engine
2013-07-02 15:53:08 -07:00
438fda3245
add sleep in tests and go fmt
...
Upstream-commit: ebba0a60245b487e6d3d242f47c8999321ec5d29
Component: engine
2013-07-02 10:47:37 +00:00
2e70c0f0f0
Add Entrypoint to builder and container config
...
By setting an entrypoint in the Dockerfile this
allows one to run an image and only pass arguments.
Upstream-commit: b16ff9f8598d30823f687d100d351cad11823e77
Component: engine
2013-07-01 05:34:27 -09:00
51b93736d6
* Hack: change builder tests to always use the current unit test image, instead of hardcoding 'docker-ut'
...
Upstream-commit: 273e0d42b7bd56f263d4d2d95fb27a692b875377
Component: engine
2013-06-29 21:22:15 -07:00
09791158d7
Fix a nil dereference in buildfile_test.go
...
The test runtime object wasn't properly initialized.
Upstream-commit: aa8ea84d11ccac8f68fa1b0337633dd7d49a44fe
Component: engine
2013-06-27 18:01:10 -07:00
7c517d635a
Merge branch 'simpler-build-upload' ( #900 ) into builder_server-3 ( #848 )
...
Upstream-commit: 352991bdf4c0a7702fcc791b961a516fb684f4c1
Component: engine
2013-06-20 22:02:36 -07:00
e7457bd29b
Merge branch 'build-add-file' into simpler-build-upload
...
Conflicts:
buildfile_test.go
Upstream-commit: c1a5318d8eb58d58aa7de2cf1d73f6612665d242
Component: engine
2013-06-20 20:42:19 -07:00
99b7da757b
* Builder: simplified unit tests. The tests are now embedded in the build itself. Yeah baby.
...
Upstream-commit: cc0f59742f192ccbc178c59bdc7eb98d0f6dd943
Component: engine
2013-06-20 20:16:39 -07:00
eb87dc37e0
Merge branch 'master' into simpler-build-upload
...
Upstream-commit: 79efcb545d76970843e02c48492a61450dba5564
Component: engine
2013-06-19 18:48:19 -07:00
a327fa094d
* Builder: remove duplicate unit test
...
Upstream-commit: 55edbcd02fe5d519069677c3970ea90e9973a4eb
Component: engine
2013-06-19 14:59:42 -07:00
0b3b002cd4
Merge branch 'master' into builder_server-3
...
Conflicts:
buildfile_test.go
Upstream-commit: 555552340dd07eb446e54011071a621430fd83a0
Component: engine
2013-06-17 14:01:32 -07:00
39f9189f02
* Builder: added a regression test for #895
...
Upstream-commit: f50e40008f39c77cab2b516ac2102f875bdef215
Component: engine
2013-06-15 11:35:56 -07:00
89a21cc6a6
* Builder: reorganized unit tests for better code reuse, and to test non-empty contexts
...
Upstream-commit: 061f8d12e04e494fdcbee949facaf598d201c2ec
Component: engine
2013-06-15 11:07:49 -07:00
4bba5db0ac
* Builder: simplify the upload of the build context. Simply stream a tarball instead of multipart upload with 4 intermediary buffers. Simpler, less memory usage, less disk usage, and faster.
...
Upstream-commit: 38554fc2a722d1a77514f477a189b0dbd149691b
Component: engine
2013-06-15 09:38:18 -07:00
2105eec29d
+ Builder: ADD of a local file will detect tar archives and unpack them
...
into the container instead of copying them as a regular file.
* Builder: ADD uses tar/untar for copies instead of calling 'cp -ar'.
This is more consistent, reduces the number of dependencies, and
fixe #896 .
Upstream-commit: 5b8287617de65d4e14ed6affb0eb46867e9ee617
Component: engine
2013-06-14 16:43:39 -07:00
d4a6b05778
Add build UT
...
Upstream-commit: 2f14dae83f23f62085015243a74df4ffc415c6c4
Component: engine
2013-06-13 18:52:41 -07:00
18e0ba9ccf
build: don't ignore last line in Dockerfile when it doesn't end with \n
...
Upstream-commit: 2e9403b047d926d39d5b299abc071f3c29627fc6
Component: engine
2013-06-11 11:39:06 -03:00
4747c5b99f
linted names
...
Upstream-commit: fd224ee590dc9f003f6507b529a9f47cceb02c44
Component: engine
2013-06-04 18:00:22 +00:00
2c506017f0
Readd build tests
...
Upstream-commit: 5b33b2463a27aa3356a4b6200cf4b81dd83c26a0
Component: engine
2013-05-28 15:31:06 -07:00