Tonis Tiigi
08134677cd
worker: runc worker exection
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-06-02 10:20:05 -07:00
Tonis Tiigi
25d9c1db0e
Add license
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-06-01 09:58:33 -07:00
Tonis Tiigi
f4695e7b4e
blobmapping: account blob size in disk usage
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-05-31 16:52:53 -07:00
Tonis Tiigi
1c5dbe562a
cachemanager: size reporting in diskusage
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-05-31 16:45:04 -07:00
Tonis Tiigi
5a0f803917
imagesource: fill blob map on pull
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-05-31 15:36:04 -07:00
Tonis Tiigi
490ac15654
snapshot: add tracking for content blobs
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-05-31 15:09:48 -07:00
Tonis Tiigi
908ead6963
util: Add nested progress test
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-05-31 10:05:47 -07:00
Tonis Tiigi
46339fb6fd
util: progress reporting facility
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-05-30 17:45:58 -07:00
Tonis Tiigi
b15a254867
util: add progress handling primitive
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-05-30 15:01:02 -07:00
Tonis Tiigi
e88c9468dd
util: add flightcontrol sync primitive
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-05-30 15:00:40 -07:00
Tonis Tiigi
fdde46f7ff
cachemanager: check pulled snapshot
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-05-30 14:17:04 -07:00
Tonis Tiigi
ae05d02379
Renames and refactoring
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-05-26 23:12:13 -07:00
Tonis Tiigi
35e661faf3
sources: basic pull code
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-05-26 22:10:26 -07:00
Tonis Tiigi
58c113167f
control: dependencies for pulling with containerd
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-05-26 15:15:20 -07:00
Tonis Tiigi
e539140d91
cachemanager: simple diskusage report
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-05-26 14:17:38 -07:00
Tonis Tiigi
1c3f2a8634
cachemanager: actives based on snapshots
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-05-26 13:45:01 -07:00
Tonis Tiigi
fb5d216beb
cachemanager: add commit support
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-05-26 11:57:18 -07:00
Tonis Tiigi
8a2699611e
cachemanager: basic releasing
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-05-26 10:59:33 -07:00
Tonis Tiigi
f2739f0728
cachemanager: new active creation
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-05-26 10:20:41 -07:00
Tonis Tiigi
5509c18410
vendor: containerd
2017-05-26 10:20:14 -07:00
Tonis Tiigi
81b0246dc5
cachemanager: base of get method
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-05-25 17:34:59 -07:00
Tonis Tiigi
9c8b68b555
cachemanager: add contructor
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-05-25 17:16:32 -07:00
Tonis Tiigi
1200788052
vendor: add vendoring script
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-05-25 16:26:45 -07:00
Tonis Tiigi
f362d9817b
Skeleton cachemanager code
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-05-25 16:25:44 -07:00
Simon Ferquel
1155aeccf1
Fix behavior of absolute paths in .dockerignore
...
According to documentation (https://docs.docker.com/engine/reference/builder/#dockerignore-file ), absolute paths like `/foo/bar` should have the same effect as `foo/bar`. This is not the case today.
This fix normalize paths when reading the .dockerignore file by removing
leading slashes.
Signed-off-by: Simon Ferquel <simon.ferquel@docker.com>
2017-03-31 10:43:59 +02:00
fate-grand-order
54ee06727e
use t.Fatal() to output the err message where the values used for formatting
...
text does not appear to contain a placeholder
Signed-off-by: Helen Xie <chenjg@harmonycloud.cn>
2017-02-23 10:16:22 +08:00
allencloud
c450963994
add defer file.Close to avoid potential fd leak
...
Signed-off-by: allencloud <allen.sun@daocloud.io>
2016-08-10 08:36:09 +08:00
Yong Tang
ddd1b33b56
Skip UTF-8 BOM bytes from Dockerignore if exist
...
This fix tries to address issues related to #23221 where Dockerignore
may consists of UTF-8 BOM. This likely happens when Notepad
tries to save a file as UTF-8 in Windows.
This fix skips the UTF-8 BOM bytes from the beginning of the
Dockerignore if exists.
Additional tests has been added to cover the changes in this fix.
This fix is related to #23221 (UTF-8 BOM in Dockerfile).
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2016-06-03 07:26:36 -07:00
Yong Tang
3666790305
Add support for comment in .dockerignore
...
This fix tries to address the issue raised in #20083 where
comment is not supported in `.dockerignore`.
This fix updated the processing of `.dockerignore` so that any
lines starting with `#` are ignored, which is similiar to the
behavior of `.gitignore`.
Related documentation has been updated.
Additional tests have been added to cover the changes.
This fix fixes #20083 .
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2016-06-02 19:06:52 -07:00
Anusha Ragunathan
0c2e049180
Fix ReadAll to run on Windows.
...
filepath.Clean converts filenames to filenames with native path
separators. Use ToSlash to normalize.
Signed-off-by: Anusha Ragunathan <anusha@docker.com>
2016-02-04 14:01:17 -08:00
Tibor Vass
e09818357f
utils: move dockerignore function to builder/dockerignore
...
Signed-off-by: Tibor Vass <tibor@docker.com>
2015-12-14 14:59:52 +01:00