-
Notifications
You must be signed in to change notification settings - Fork 201
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use distroless image for operator image (#533)
* Use distroless image for operator image To avoid security issues switch to usage of distroless image. Also bumped go version to 1.19 Fixes: #508 Signed-off-by: Ann Taraday <akamyshnikova@mirantis.com> * Add user setting in Dockerfile Signed-off-by: Ann Taraday <akamyshnikova@mirantis.com> * Revert setting USER in Dockerfile Signed-off-by: Ann Taraday <akamyshnikova@mirantis.com> * Use cr.io/distroless/static-debian11 Signed-off-by: Ann Taraday <akamyshnikova@mirantis.com> * Introduce DISTROLESS_DOCKER_REGISTRY arg Signed-off-by: Ann Taraday <akamyshnikova@mirantis.com> * Drop DISTROLESS_DOCKER_REGISTRY from Makefile Signed-off-by: Ann Taraday <akamyshnikova@mirantis.com> --------- Signed-off-by: Ann Taraday <akamyshnikova@mirantis.com>
- Loading branch information
1 parent
a4a345f
commit 3d3e647
Showing
3 changed files
with
7 additions
and
9 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
module github.com/pravega/zookeeper-operator | ||
|
||
go 1.18 | ||
go 1.19 | ||
|
||
require ( | ||
github.com/ghodss/yaml v1.0.0 | ||
|