This repository was archived by the owner on Jun 3, 2025. It is now read-only.
v0.20.0
This is the 20th major release of Kaniko!
In this release, the highlights are:
- Fix doubling cache layers size and error due to duplicate files in cached layers
- Kaniko now supports reading a tar context from a stdin using
--context=tar:// - Kaniko adds a new flag
--context-sub-pathto represent a subpath within the given context - Skip building unused stages using
--skip-unused-stagesflags.
Thank you all for your patience and supporting us throughout!
gcr.io/kaniko-project/executor:v0.20.0 and
gcr.io/kaniko-project/executor:latest
The debug image is available at:
gcr.io/kaniko-project/executor:debug-v0.20.0 and
gcr.io/kaniko-project/executor:debug
Bug Fixes
- Snapshot FS on first cache miss. #1214
- Add secondary group impersonation w/ !cgo support #1164
- kaniko generates images that docker supports in the presence of dangling symlinks #1193
- Handle
MAINTAINERSwhen passing--single-snapshot. #1192 - Multistage ONBUILD COPY Support #1190
- fix previous name checking in 'executor.build.fetchExtraStages' #1167
- Always add parent directories of files to snapshots. #1166
- Fix
workdircommand pointing to relative dir in first command. - fix stages are now resolved correctly when
--skip-unused-stagesis used
New Features
- Add ability to use public GCR repos without being authenticated #1140
- Add timestamp to logs #1211
- Add http support for git repository context #1196
- Kaniko now resolves args from all stages #1160
- kaniko adds a new flag
--context-sub-pathto represent a subpath within the given context - feat: allow injecting through stdin tar.gz on kaniko #1139
- Set image platform for any build #1130
- Add --log-format parameter to README.md #1216
- feat: multistages now respect dependencies without building unnecessary stages #1165
Refactors and Updates
- Refactor Kaniko to test across multistages #1155
- upgrade go container registry to latest master #1146
- small perf optimizing. Only remove whiteout path if it needs to be included in base image #1147
- Don't generate cache key, if not caching builds. #1194
- Set very large logs to Trace level #1203
- optimize: don't parse Dockerfile twice, reusing stages #1174
- 32bit overflow fix #1168
Documentation
Huge thank you for this release towards our contributors:
- Anthony Davies
- Batuhan Apaydın
- Ben Einaudi
- Carlos Alexandro Becker
- Carlos Sanchez
- Cole Wippern
- cvgw
- Dani Raznikov
- DracoBlue
- Gilbert Gilb's
- Giovan Isa Musthofa
- James Ravn
- Jon Henrik Bjørnstad
- Jordan GOASDOUE
- Jordan Goasdoué
- Liubov Grinkevich
- Logan.Price
- Michel Hollands
- Moritz Wanzenböck
- ohchang-kwon
- Or Sela
- PhoenixMage
- Sam Stoelinga
- Tejal Desai
- Thomas Bonfort
- Thomas Stromberg
- Thomas Strömberg
- tinkerborg
- Tom Prince
- Vincent Latombe
- Wietse Muizelaar
- xanonid
- Yoan Blanc
- Yuheng Zhang
- yw-liu