From a8ad3bf190ca1af0c003da8be51417bd54560ca7 Mon Sep 17 00:00:00 2001 From: Masijia Qiu Date: Thu, 28 Apr 2022 22:35:41 +0000 Subject: [PATCH] Fix Go 1.17 to 1.17-alpine to use apk --- prometheus-to-sd/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prometheus-to-sd/Dockerfile b/prometheus-to-sd/Dockerfile index a50bc40ff..cecc1b514 100644 --- a/prometheus-to-sd/Dockerfile +++ b/prometheus-to-sd/Dockerfile @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -FROM --platform=$BUILDPLATFORM golang:1.17 as builder +FROM --platform=$BUILDPLATFORM golang:1.17-alpine as builder WORKDIR ${GOPATH}/src/github.com/GoogleCloudPlatform/k8s-stackdriver/prometheus-to-sd COPY . ./