Tinjo Schöni
5f4e2f1366
Fix .dockerignore for build context copies in later stages ( #1447 )
...
* Extend .dockerignore integration test with copies in later stages
.dockerignore should continue to apply when copying from the build context in later stages, but it currently doesn't
* Replace excluded global with passed along FileContext struct
This new FileContext struct allows much cleaner handling of context specific file exclusions.
The global excluded file state is no longer needed.
Additionally this also fixes the issue where excluded files aren't being applied for build context copies in later build stages.
2020-10-08 12:47:14 -07:00
Thomas Stromberg
f79492b0cd
Make --use-new-run flag help easier to understand
2020-08-29 11:01:14 -07:00
Carlos Alexandro Becker
e483bee97c
feat: git options
...
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-06-24 15:31:32 -03:00
Carlos Alexandro Becker
57c2df4d97
feat: new git flags
...
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-06-15 17:24:04 -03:00
Tejal Desai
43338d4b2f
add a new run command along with a new flag
2020-06-05 19:53:16 -07:00
Tejal Desai
6ab97e2b5f
ADD GCB benchmark code
2020-06-05 12:46:47 -07:00
Tejal Desai
994a412d0b
some more renames
2020-06-02 16:08:46 -07:00
Tejal Desai
cbf3073fda
rename whitelist to ignorelist
2020-06-02 15:56:27 -07:00
Tejal Desai
0f67b782fa
fix formatting.
2020-05-03 21:01:04 -07:00
Tejal Desai
0db357935f
fix formatiing
2020-05-03 21:00:33 -07:00
Tejal Desai
da051c0474
fix gofmt
2020-05-03 20:59:29 -07:00
Tejal Desai
94ee809e1c
Merge branch 'master' into log-timestamp-v0.19.0
2020-05-03 20:58:34 -07:00
Tejal Desai
36748facc5
Merge pull request #1203 from dani29/cache
...
Set very large logs to Trace level
2020-05-01 10:35:15 -07:00
Jon Henrik Bjørnstad
41a95fe4bd
Add timestamp to logs
2020-04-23 13:40:47 +02:00
Dani Raznikov
04888f2690
Set loud logs to trace level
2020-04-18 20:27:25 +03:00
Jordan Goasdoué
8cbc7a8ca2
feat: multistages is now built without unusued stages
2020-04-17 09:59:56 +02:00
Carlos Alexandro Becker
92b9582ff9
fix: better error if not exists
...
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-04-03 16:21:29 -03:00
Carlos Alexandro Becker
3aaec5015b
feat: allow a subdir within a context
...
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-04-03 15:34:59 -03:00
Tejal Desai
a173bf020b
Merge pull request #1115 from JordanGoasdoue/allow-build-context-from-local-targz
...
feat: add support of local '.tar.gz' file inside the kaniko container
2020-03-17 15:24:10 -07:00
Jordan GOASDOUE
fda7ed4f74
feat: add support of local '.tar.gz' file inside the kaniko container
2020-03-12 22:51:30 +01:00
Tejal Desai
32decf5798
Merge pull request #1075 from greut/label-flag
...
executor: add --label flag
2020-03-12 13:47:01 -07:00
Ben Einaudi
b73c2c10c8
Allow user to provide registry certificate
...
Fixes #1100
Fixes #1101
2020-03-08 18:17:50 +01:00
Yoan Blanc
53326fa0bf
executor: add --label flag
...
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
2020-03-07 18:17:26 +01:00
Yoan Blanc
edc4eb33f4
Merge remote-tracking branch 'origin/master' into registry-mirror
2020-02-16 09:28:54 +01:00
cvgw
7e2009b5e2
More idiomatic logging config
...
Update logging configuration to be more idiomatic for a Cobra
application
2020-02-07 16:13:03 -08:00
Or Sela
9dd050b892
set log format using a flag
2020-02-07 00:05:59 +02:00
xanonid
ac4c80d241
Refactor code, introduce constants for uid/gid = -1
2020-02-03 14:56:23 -08:00
xanonid
e3b5a7b85d
Support COPY --chown flag ( Closes : #9 )
2020-02-03 14:56:23 -08:00
Ben Einaudi
2f1e54e591
Expand build argument from environment when no value specified
...
Fixes #713
2020-01-30 12:01:06 +01:00
Tejal Desai
47ab3fe997
Merge branch 'master' into registry-mirror
2020-01-29 11:42:06 -08:00
Tejal Desai
8b991f6baf
Add falg to --whitelist-var-run set to true to preserver default kaniko behaviour of /var/run ignored. Set it to false to add /var/run in destination directory
2020-01-28 10:52:36 -08:00
Tejal Desai
d49c198c90
Revert "add option additonal-whitelist"
...
This reverts commit 72bfed1850 .
2020-01-28 08:52:36 -08:00
Tejal Desai
c8b19894bb
Revert "additional-whitelist"
...
This reverts commit ac8e123815 .
2020-01-28 08:52:29 -08:00
cvgw
ac8e123815
additional-whitelist
...
* update readme
* improve test
* change default
2020-01-24 10:22:20 -08:00
Cole Wippern
72bfed1850
add option additonal-whitelist
...
Add a new option additonal-whitelist which defaults
to a single entry, "/var/run". This will allow users to
remove "/var/run" from the whitelist or retain the current
behavior with no change.
2020-01-23 16:50:33 -08:00
Yoan Blanc
3678b70239
Merge remote-tracking branch 'origin/master' into registry-mirror
2019-12-22 11:10:15 +01:00
Cole Wippern
bdabd774fc
Update linter and fix errors
...
* disable linters that are now enabled by default in new version
* fix linter errors
2019-12-21 12:27:14 -08:00
Yoan Blanc
980c87ac17
Merge remote-tracking branch 'origin/master' into registry-mirror
2019-12-05 19:12:47 +01:00
Yoan Blanc
3873aa05e3
root: add --registry-mirror flag
...
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
2019-10-25 11:34:49 +02:00
Will Ripley
4c9a800e12
Added image digest file path
2019-10-21 11:55:55 -05:00
Tejal Desai
743a967933
Merge pull request #804 from tejal29/fix_803
...
fix creating abs path for urls
2019-10-04 16:00:19 -07:00
Tejal Desai
bb9ace058f
address Don's comment
2019-10-04 14:43:21 -07:00
Tejal Desai
230c4c9b07
fix linter
2019-10-04 14:39:53 -07:00
Tejal Desai
1c821d050c
Merge pull request #796 from prary/version
...
Kaniko version
2019-10-04 14:32:14 -07:00
Tejal Desai
6b5b88c2bc
fix creating abs path for urls
2019-10-04 14:31:11 -07:00
Tejal Desai
eee6f83ff2
Merge pull request #736 from huguesalary/resolve-paths
...
Resolve relative paths to absolute paths in command line arguments
2019-10-04 00:49:12 -07:00
Prashant
f9424d43e7
fixing lint and minor fix
2019-10-03 21:29:40 +05:30
Prashant
24c2dcc867
Merge branch 'master' into version
2019-10-02 21:39:32 +05:30
Prashant
de87136720
Kaniko version
2019-10-02 21:22:26 +05:30
Hugues Alary
4327e9ba24
Resolve relative paths to absolute paths in command line arguments
...
The executor accepts a few arguments dockerfile, context, cache-dir and
digest-file that all represent paths. This commits allows those paths to
be relative to the working directory of the executor.
Fixes #732 #731 #675
2019-08-27 21:06:26 +00:00