From cc4eb1e1b132289859b719ebe559c383d20cb758 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marius=20Andr=C3=A9=20Elsfjordstrand=20Beck?= Date: Fri, 19 Jul 2024 12:12:14 +0200 Subject: [PATCH 1/2] style: consistent casing --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index be5dfdf..04ed3f8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.22 as build +FROM golang:1.22 AS build WORKDIR /build From 5b90700dc3346e396afd343230f64e812e2e7cdb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marius=20Andr=C3=A9=20Elsfjordstrand=20Beck?= Date: Fri, 19 Jul 2024 12:13:20 +0200 Subject: [PATCH 2/2] build: update base image This commit updates the base image since the current is not updated anymore. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 04ed3f8..33c7434 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,7 +15,7 @@ COPY . . # -w disable DWARF generation RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -trimpath -ldflags "-s -w" . -FROM gcr.io/distroless/base +FROM gcr.io/distroless/static-debian12 COPY --from=build /build/veidemann-scopeservice / # api server