Tejal Desai
ad7092dae4
Merge pull request #1025 from tejal29/fix
...
update initialWhitelist instead of whitelist
2020-02-04 11:07:35 -08:00
Tejal Desai
2e95c3040c
update initialWhitelist instead of whitelist
2020-02-04 11:06:26 -08:00
Tejal Desai
bd59b60f02
Merge pull request #962 from xanonid/support_copy_with_chown
...
Support COPY --chown flag
2020-02-03 22:44:22 -08:00
Tejal Desai
31f626cb22
initilize group to 0
2020-02-03 22:15:56 -08:00
Tejal Desai
56125ff464
Rebase from master with some changes
2020-02-03 14:57:10 -08:00
xanonid
ac4c80d241
Refactor code, introduce constants for uid/gid = -1
2020-02-03 14:56:23 -08:00
xanonid
517cb50278
Add Unit test for GetUIDAndGIDFromString
2020-02-03 14:56:23 -08:00
xanonid
e3b5a7b85d
Support COPY --chown flag ( Closes : #9 )
2020-02-03 14:56:23 -08:00
Tejal Desai
28aa374266
Merge pull request #1018 from tejal29/release_notes
...
Release v0.17.0
2020-02-03 14:17:18 -08:00
Tejal Desai
ce00eaed3c
bump release
2020-02-03 13:17:02 -08:00
Tejal Desai
42b1b68dff
Release v0.17.0
2020-02-03 11:32:32 -08:00
Tejal Desai
140f45f1b9
Merge pull request #1017 from tejal29/correct_user_grp_str
...
fix group string being always set to uid in case a user has a gid set
2020-02-03 11:30:51 -08:00
Tejal Desai
18fec3ba38
fix lint
2020-02-03 11:03:58 -08:00
Tejal Desai
db6f6c5ad3
more tests and do not error out if user not found
2020-02-03 10:11:40 -08:00
Tejal Desai
6894be442f
remove duplicate code
2020-02-01 15:19:36 -08:00
Tejal Desai
956495784e
fix group string being always set to uid in case a user has a gid set
2020-02-01 15:19:36 -08:00
Tejal Desai
c0c26bdcf2
Merge pull request #1016 from tejal29/fix_test_flake
...
fix test flake
2020-02-01 15:18:54 -08:00
Tejal Desai
0e833e4643
fix test
2020-02-01 09:29:18 -08:00
Tejal Desai
5a4a6c4a17
fix test flake
2020-01-31 15:23:38 -08:00
Tejal Desai
de4b7344a7
Merge pull request #993 from antechrestos/feature/expand_build_args_with_environment_variable
...
Expand build argument from environment when no value specified
2020-01-31 11:26:56 -08:00
Tejal Desai
3f73230884
Merge pull request #1000 from tejal29/769
...
whitelist /tmp/apt-key-gpghome.* directory
2020-01-31 10:50:26 -08:00
Tejal Desai
c5e1c93949
Merge pull request #1015 from tbonfort/whiteout-loglevel
...
Change loglevel for whiteouts to debug
2020-01-31 10:49:19 -08:00
Thomas Bonfort
6b6742fd9d
Changle loglevel for whiteouts to debug
2020-01-31 12:02:32 +01: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
8bdcb4f544
Merge pull request #854 from WanzenBug/ignored-files-invalidate-cache
...
Fix caching to respect .dockerignore
2020-01-29 11:32:43 -08:00
Cole Wippern
65cd9124d1
Merge pull request #957 from antechrestos/fix/scopes_asked_to_remote_registry
...
Upgrade go-containerregistry third-party library
2020-01-28 16:00:21 -08:00
Tejal Desai
d0edea6bbc
Merge pull request #1011 from tejal29/add_flag_whitelist_var_run
...
Add flag to --whitelist-var-run set to true to preserver default kani…
2020-01-28 11:44:28 -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
c086daf73c
Merge pull request #1009 from tejal29/remove_whitelist
...
Revert additional whitelist flag
2020-01-28 10:15:22 -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
Tejal Desai
4919fb5bca
Merge pull request #990 from samos123/fix-988-run-in-docker-sh-non-gcr
...
Fixes #988 run_in_docker.sh only works with gcr.io
2020-01-27 16:01:18 -08:00
Tejal Desai
6c5002c9bf
Merge pull request #1004 from tejal29/remove_debug_trigger
...
Remove debug tag being built for every push to master
2020-01-27 13:31:25 -08:00
Tejal Desai
e075c0a6c8
Remove debug tag being built for every push to master
2020-01-27 12:39:31 -08:00
Tejal Desai
0529579db7
Merge pull request #971 from tejal29/915
...
Fix Symlinks not being copied across stages
2020-01-27 10:58:49 -08:00
Ben Einaudi
03b8922ede
Upgrade dependency to go-containerregistry third-party library
...
By doing so it will fix issues met when mixing source/remote registry
Close #808
2020-01-26 18:55:52 +01:00
Tejal Desai
e8fffda7cb
Merge pull request #995 from tejal29/507
...
Fix home and group set for user command
2020-01-24 22:18:09 -08:00
Tejal Desai
e0322042c7
use filepath.Match instead of regex
2020-01-24 22:12:37 -08:00
Tejal Desai
68e8c6e902
Merge pull request #975 from cvgw/u/cgwippern/fix-issue-506
...
Fix #506 add option additional-whitelist
2020-01-24 16:11:32 -08:00
Tejal Desai
5951d9b0ee
add /tmp/apt-key to whitelist for Dockerfiles which use command
2020-01-24 15:54:44 -08:00
Tejal Desai
308137f46d
Merge pull request #994 from wmuizelaar/fix_extracted_verbose_logging
...
Change loglevel for extractedFiles to debug. Fixes #901
2020-01-24 14:04:50 -08:00
Moritz Wanzenböck
bab1c170e8
fix skipping ignored directories if they have whitelisted content
2020-01-24 22:27:56 +01: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
Cole Wippern
782e4916b6
update build and composite cache tests
2020-01-23 15:37:38 -08:00
Moritz Wanzenböck
ef692e55f3
composite_cache: add unit tests
...
Add unit tests that check the behaviour of CompositeCache
on adding filesytem resources. It checks that
* 2 identical directory trees produces the same hash
* an extra file produces a different hash
* an extra directry produces a different hash
* an extra file that is excluded does not alter the hash
* an extra directory that is excluded does not alter the hash
2020-01-23 15:37:37 -08:00
Moritz Wanzenböck
123dcaf83e
Fix caching to respect .dockerignore
...
Previously kaniko would compute the cache key for any copy command by computing
the combined hash of all files in a directory, even if they were listed
as ignored.
With this change, the cache key creation was updated to be aware of ignored
files.
Related issues:
* https://github.com/GoogleContainerTools/kaniko/issues/594
2020-01-23 15:37:37 -08:00
Tejal Desai
048de00c33
Fix home and group set for user command
2020-01-23 15:07:15 -08:00
Cole Wippern
a2aae6274d
Merge pull request #973 from cvgw/u/cgwippern/fix-issue-704
...
Fix issue #704
2020-01-23 13:00:34 -08:00
Wietse Muizelaar
05a316c26c
Change loglevel for extractedFiles to debug. Fixes https://github.com/GoogleContainerTools/kaniko/issues/901
2020-01-23 21:37:06 +01:00