cybozu-go / accurate

Kubernetes controller for multi-tenancy. It propagates resources between namespaces accurately and allows tenant users to create/delete sub-namespaces.
https://cybozu-go.github.io/accurate/
Apache License 2.0
34 stars 5 forks source link

Upgrade/patch/replace Go build image #103

Open erikgb opened 8 months ago

erikgb commented 8 months ago

What

The image used to build the operator binary seems to be a Cybozu Ubuntu Jammy based image:

https://github.com/cybozu-go/accurate/blob/ad5cd954edf6d1bddde64df666448ac1c3ad5661/Dockerfile#L2

Is there any particular reason for not using the official Go image, https://hub.docker.com/_/golang?

How

Replace the Go binary build image with golang:1.21, eventually an exact image digest if we want reproducible builds.

Checklist

zoetrope commented 8 months ago

I've upgraded to go1.21 for now. #105

While I'm using quay.io/cybozu/golang in accordance with our company policy, I believe we could also use the official golang if needed.

erikgb commented 8 months ago

While I'm using quay.io/cybozu/golang in accordance with our company policy, I believe we could also use the official golang if needed.

We would prefer a more open/neutral base image. Is the current base image open-sourced?

yamatcha commented 4 months ago

Base image is built in this open-source repository. https://github.com/cybozu/neco-containers/tree/main/golang-all