From 8cf0491b65e1bd959fb3e10beff4cc429772421d Mon Sep 17 00:00:00 2001 From: Nicola Murino Date: Sat, 7 Sep 2024 11:47:50 +0200 Subject: [PATCH] Dockerfiles: fix FromAsCasing Signed-off-by: Nicola Murino --- Dockerfile | 2 +- Dockerfile.distroless | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index c058caa1..c822a7cf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.22-bookworm as builder +FROM golang:1.22-bookworm AS builder ENV GOFLAGS="-mod=readonly" diff --git a/Dockerfile.distroless b/Dockerfile.distroless index c8bf6e27..ae62dccf 100644 --- a/Dockerfile.distroless +++ b/Dockerfile.distroless @@ -1,4 +1,4 @@ -FROM golang:1.22-bookworm as builder +FROM golang:1.22-bookworm AS builder ENV CGO_ENABLED=0 GOFLAGS="-mod=readonly"