-
Notifications
You must be signed in to change notification settings - Fork 828
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue-393 Use Distroless images for Go apps (#396)
* Use Distroless Debian11 for Hodometer image * Use Distroless Debian11 for Hodometer stub receiver image * Use Distroless static for Hodometer images * Use nonroot Distroless images for Hodometer * Use nonroot Distroless images for SCv2 core Go components * Use Debian-based Distroless image for core Go components These components are buit with Kafka, which uses librdkafka under the hood. In turn, this is highly likely to be dynamically linked to a C/C++ runtime, meaning we need an image which contains this C/C++ dependency. * Disable CGo for scheduler container build This successfully allows the scheduler container to start in Compose. * Change scheduler base image back to static Distroless * Disable CGo for agent images & use static Distroless image as base * Disable CGo for scheduler, agent, and proxy scheduler binaries in Makefile * Add Dockerfile comments re use of specific base images for built binaries * Use entrypoint instead of cmd in Dockerfiles
- Loading branch information
Showing
7 changed files
with
19 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters