Comments (5)
Healthcheck requires a different config struct:
https://github.com/moby/moby/blob/master/api/types/container/config.go
It seems to be not included in the open container specs - thus implementing this would require completely replacing the base for configs.
After that - if I get the code right - it would simply mean passing the already prepared HealthConfig struct to the config to persist it. Which shouldn't be hard at all - but that requires HealthCheck to be existent in the container config.
Ideas?
from kaniko.
@dlorenc @priyawadhwa any idea?
from kaniko.
Hey, sorry for the late response! We use the go-containerregistry library for working with our images, and right now the config doesn't have a field for Healthcheck. You'd probably have to create the healthcheck config struct in go-containerregistry and add it to the config before starting to implement this command in kaniko.
from kaniko.
So you suggest contributing to go-containerregistry and using the merged version for proceeding here, correct?
from kaniko.
@chrisz100 correct! I can help you get that PR merged into go-containerregistry as well :)
from kaniko.
Related Issues (20)
- Issue with Docker Image build using Kaniko and push to AWS ECR in GitHub Actions Workflow on AWS EKS
- Support `--secret` build flag
- Running kaniko exeutor inside another container
- ADD using an url with GET parameters and a directory destination includes the GET parameters in the file name HOT 1
- Feature request: Keyless `cosign` signing for the Kaniko images
- Auth with different quay organizations HOT 1
- [Feature Request]: Optional webserver HOT 2
- Adding an arbitrary file to the image
- Azure Blob Storage Context invalid path HOT 6
- Request custom /path on registry maps including fallback HOT 5
- buildkit 0.13 and windows
- Layers are not reproducible between runs HOT 1
- Nginx Multi-Stage Dockerfile Fails to Build due to Missing Files from Builder Stage HOT 2
- Unable to build image in monorepo. HOT 2
- Kaniko fails to 'warm' or build from existing cache due to docker hub's rate-limiting
- Add symbolic link to the correct path (usr/bin/mkfifo: not found) HOT 1
- error building image: error building stage: failed to get filesystem from image: stream error: stream ID 1; INTERNAL_ERROR; received from peer HOT 1
- Support docker build comparable --ssh switch HOT 1
- CVE-2024-24786 HOT 1
- COPY with glob is incompatible with Docker HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kaniko.