Priya Wadhwa
d8ae5618af
Get absolute path of file before checking whitelist
...
Issue 291 pointed out that symlink "../proc/self/mounts" in the fedora image wasn't being extracted properly and kaniko was erroring out.
This is because the file path wasn't absolute so kaniko wasn't recognizing it as a whitelisted path.
With this change, we first resolve a path to it's absolute path before checking the whitelist.
2018-08-17 18:29:11 -04:00
priyawadhwa
31b7cd3732
Fix bug in copy command by refactoring whitelist checks ( #231 )
...
* Fixed bug
* WIP
* fix unit tests
2018-07-10 08:23:35 -07:00
xanonid
d411bd6daf
Track file ownership and use file ownership from base images ( #209 )
...
* Track file ownership and use file ownership from base images
* Fix fs_util_test - use current uid/gid.
2018-06-22 15:11:02 -07:00
Priya Wadhwa
54282e3e8c
Fix bug in snapshotting
2018-06-21 14:07:59 -07:00
Sharif Elgamal
f8aa88b119
Integration test refactoring ( #126 )
...
* integration test refactoring
* config file cleanup
* more test refactoring
* remove debug file
* moving around more files
* fixing up integration tests
* integration tests work
* some housekeeping
* fixing tests
* addressing comments
* debugging
* debugging
* actual debugging
* skip integration tests for travis
* install container-diff before integration tests
* syntax
* make test failures less noisy
* fixing tests
* hopefully fixing CI?
* fixes
* more fixes
* let's actually fix CI
* more testing
* testing
* proper auth
* typos
* adding support for args in integration tests
* formatting
* formatting
* adding support for testing bucket context
* adding bucket test dockerfile
* addressing comments
* syntax
2018-05-15 13:42:35 -07:00
Priya Wadhwa
347ce66a9b
Merged master, fixed merge conflict
2018-05-09 13:50:33 -07:00
Priya Wadhwa
7fbc21ec73
Merged master, fixed merge conflict
2018-05-07 09:14:17 -07:00
Priya Wadhwa
904575d0cb
support multi stage builds
2018-04-26 15:40:41 -07:00
dlorenc
cd5b744904
Switch from containers/image to go-containerregistry ( #140 )
...
* Vendor changes for go-containerregistry switch.
* Manual changes for go-containerregistry switch.
The biggest change is refactoring the tarball unpacking.
* Pull more of container-diff out.
* More vendor removals.
* More unit tests.
2018-04-25 19:21:05 -07:00
Priya Wadhwa
946b11b894
fix parent directory
2018-04-25 12:59:18 -07:00
Priya Wadhwa
a211c1ec71
Make sure to snapshot parent directories of specific files for add/copy
2018-04-24 16:22:37 -07:00
Matt Rickard
cff201dee6
org rename from GoogleCloudPlatform to GoogleContainerTools
2018-04-17 11:45:39 -07:00
Priya Wadhwa
ec510a161b
change imports from k8s-container-builder to kaniko
2018-04-12 15:35:54 -07:00
Priya Wadhwa
fad0d25aec
Add README and update name to kaniko
2018-04-02 14:00:15 -07:00
Priya Wadhwa
5ebf156d94
Fixed relative filepath and unit test
2018-03-15 13:47:40 -07:00
Priya Wadhwa
21a9207428
Copy command and unit tests
2018-03-14 17:06:46 -07:00
Priya Wadhwa
98826ef951
Changed /work-dir to /kbuild
2018-03-07 15:38:22 -08:00
Priya Wadhwa
3195b84c25
Fixed integration tests, changed directory to /work-dir
2018-03-06 15:25:04 -08:00
Priya Wadhwa
f68fa5fa97
Changed /work-dir and /dockerfile to /workspace
2018-02-28 09:44:22 -08:00
Priya Wadhwa
093dfd04df
Unpack filesystem and whitelist from /proc/self/mountinfo
2018-02-21 11:02:30 -08:00